I have been trying to update a TextView field, when i Tap on the screen. I have implemented the Overlay class successfully, but I am unable to get a reference to the TextView field from the overlay class. I have passed ‘context’ from my activity class to overlay class.
What are the ways to get reference to the Textview in the overlay class ?
I have been trying to update a TextView field, when i Tap on the
Share
You have some options:
Keep in mind that you can’t modify an UI element from a non UI thread.
Regads.