KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When using the FragmentStatePageAdapter I get the fragments like this: @Override public Fragment getItem(int position) { return new SuperCoolFragment(); } However, later on my code I need to find this fragment to set a property. In some other parts of the app where I use fragments I basically tag them and look for them using findFragmentByTag(TAG) but with now I don't know how to do it. How do can I find the fragments using the FragmentStatePageAdapter ?
Tags (comma-separated)
Save Edits
Cancel