Skip to content Skip to sidebar Skip to footer

Android Mvp With Two Fragments Sharing The Same Data

My app has one activity and two fragments. The activity is just used as a fragment container. One of the fragment show data as text. The second fragment shows the same data as a ch

Solution 1:

You must use MVP inside your activity so that only one time request is done to JSON API.After that all fragments which register from that activity can able to get that.


Post a Comment for "Android Mvp With Two Fragments Sharing The Same Data"