Communication between Fragments in ViewPager
You could use Intents (register broadcast receiver in fragment B and send broadcasts from fragment A. Use EventBus: https://github.com/greenrobot/EventBus. It’s my favorite approach. Very convinient to use, easy communications between any components (Activity & Services, for example). Steps to do: First, create some class to represent event when your text changes: public class TextChangedEvent { … Read more