Hi, has anyone had any issue with findViewById() w...
# anko
s
Hi, has anyone had any issue with findViewById() with imageView ?
🤔 2
n
Have you tried
find<ImageView>(R.id.yourImageView)
s
Thanks Nawar. Turned out that I didn’t have the id Resource set correctly. I’m not able to replicate the issue now. It was odd behaviour because I was getting the root linearLayout instead of the imageView.
n
Glad it worked! 🙂