Android Question B4XView - SetBitmap

LucaMs

Expert
Licensed User
Longtime User
Trying to modify a class of an our friend in which he uses a B4XView and sets the bitmap of this one using the SetBitmap method, I "noticed" that the same method requires a different type of parameter when used in B4A (Bitmap) or B4J (Image).

Shouldn't it require a B4XBitmap?
 

sorex

Expert
Licensed User
Longtime User
it depends on the code and view that you use.

if I recall right there's .setBitmap and .bitmap depending on the view type but both require a bitmap.

you can still use the parent view (the not B4XView one) to set the bitmap.
 
Upvote 0
Top