not get the question exactly as it is too simple :
ExampleFragment fragment = (ExampleFragment) getFragmentManager().findFragmentById(R.id.example_fragment);
fragment.<specific_function_name>();
More Related Contents:
- My list view is lagging can anyone help me to fix this?
- Android Fragment handle back button press [duplicate]
- Understanding Fragment’s setRetainInstance(boolean)
- Android – android.view.InflateException: Binary XML file line #8: Error inflating class fragment
- What is difference between getSupportFragmentManager() and getChildFragmentManager()?
- ViewPager as a circular queue / wrapping
- How to add Options Menu to Fragment in Android
- java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
- Get the current fragment object
- How to clear navigation Stack after navigating to another fragment in Android
- Creating tabs using Fragments now that TabActivity is deprecated
- Fragments onResume from back stack
- Sending data from nested fragments to parent fragment
- How to open a Fragment on button click from a fragment in Android
- Starting Activity from Fragment causes NullPointerException
- fragment lifecycle: when “ondestroy” and “ondestroyview” are not called?
- Android Toolbar Adding Menu Items for different fragments
- android fragment onRestoreInstanceState
- How to know if a Fragment is Visible?
- How to replace a Fragment on button click of that fragment?
- Fragment onCreateView and onActivityCreated called twice
- findFragmentByTag() returns null after perform a FragmentTransaction using replace() method
- How to use StartActivityForResult()
- Is there a method that works like start fragment for result?
- Keyboard hides BottomSheetDialogFragment
- Replacing ViewPager with Fragment – Then Navigating Back
- FragmentActivity can not be tested via ActivityInstrumentationTestCase2
- Placing ViewPager as a row in ListView
- Fragment standard transition not animating
- Kotlin: open new Activity inside of a Fragment