You can use Interface for it so main objective of Fragment re-usability is maintained. You can implement communication between Activity-Fragment OR Fragment-Fragment via using following :
More Related Contents:
- Send data from activity to fragment in Android
- ViewPager and fragments — what’s the right way to store fragment’s state?
- How to resume existing Fragment from BackStack
- Fragment MyFragment not attached to Activity
- Problems with Android Fragment back stack
- Pop up window over Android native incoming call screen like true caller Android app
- getView returning null when fragment has been created from an activity
- Fragment onResume() & onPause() is not called on backstack
- Show DialogFragment with animation growing from a point
- Android Broadcast Receiver bluetooth events catching
- Fragment in ViewPager using FragmentPagerAdapter is blank the second time it is viewed
- Wrong requestCode in onActivityResult
- One Activity and all other Fragments [closed]
- Android Fragments: When to use hide/show or add/remove/replace?
- fitsSystemWindows effect gone for fragments added via FragmentTransaction
- Android replace the current fragment with another fragment
- Android – getTargetFragment and setTargetFragment – What are they used for
- How to use data-binding with Fragment
- Fragment pressing back button
- Broadcast Receiver class and registerReceiver method
- application content goes behind the navigation bar in android L
- Fragments – The specified child already has a parent. You must call removeView() on the child’s parent first
- FragmentPagerAdapter getItem is not called
- Retain the Fragment object while rotating
- getParentFragment returning null
- Android ACTION_DATE_CHANGED broadcast
- How to switch between fragments during onclick?
- How to open fragment page, when pressed a notification in android
- Android Two Fragments in Same Activity
- Pop up window to display some stuff in a fragment