Android Question Getting file name of image loaded in an ImageView

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

I would like to get the file name of the image that's loaded in an ImageView.

I have tried this but the coding is not correct.

Can you show me the correct syntax to do it?

It tells me "Types do not match"

Thanks.

B4X:
If ImageViewQuarterPastChimes.Bitmap = "light-on-icon.png" Then
    ' Do something.
Else
    ' Do something else.
End If
 
Top