How to update TextView from a class that doesn't extend Activity class
<p>I am New to Android. I am having a tough time with my code. 
Here is my problem. 
I have a TextView in my MainActivity which extends activity. And this textview has top be updated from another class which extends an Adapter class and implements GestureDetector. </p>

<p>Based on the fling event I am updating my textview. How can i achieve this.</p>
