How To Update Fragment Textview From Fragmentactivity When Finish A Asynctask
I have an activity extends from FragmentActivity, and I have four TABS of Fragments, I have AsyncTask in main FragmentActivityto get load data from a server, so, I want to update e
Solution 1:
Create method in fragment which updates the text in text view,access fragment method from the fragment activity.
DemoFragment demo_frag = (DemoFragment)getSupportFragmentManager().findFragmentByTag("Demo_Fragment");
demo_frag.updateTextView();
Post a Comment for "How To Update Fragment Textview From Fragmentactivity When Finish A Asynctask"