Is there a way to read which bitmap file is currently displayed in imageview? I saw the suggestion of storing the file name in Tag for later reference, an ingenious solution if I were not using Tag. The reult I am seeking is "If imageview1.bitmap="blue_sky.png" then imageview1.enable = true". Is there any way?
The tag property can contain any object, create your own type variable and store that in the tag:
B4X:
Type ImgInfo(Filename as string, Enabled as Boolean, ExtraProperty as Int)
...
...
Dim MyType as ImgInfo
Mytype.Initialize
MyType.Filename = "blue_sky.png"
Imageview1.Tag = MyType
...