Android Question Library dependences ?

hakha4

Member
Licensed User
Find this code from an older thread:
B4X:
'state: 0 - normal, 1 - highlighted, 2 - disabled
Sub SetBackgroundImage(b As Button, bmp As Bitmap, state As Int)
 Dim no As NativeObject = b
 no.RunMethod("setBackgroundImage:forState:", Array(bmp, state))
End Sub
When compiling results in 'unknown type Nativeobject'
What library? is missing
Regards
 
Top