I have a MainActivity with a VIewPager adapter and i have three Tabs. Each tab displays its own fragment. But i want, for example in the first tab, to have a button and when i click i want to change the fragment of the current Tab ONLY.
How can i do this...?? Where should i wirte the button listener and how i replace the fragment..???
Replace a fragment inside a Tab Activity
Post a Reply
Nothing to see here.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|