I have a main Activity with a ViewPager with three tabs, where each tab has a Fragment with a RecyclerView which is filled by my webservice data.
fragment_1 has a list of users who I'm following.
fragment_3 has the list of users that I can follow.
When I click on an item of fragment_3, fragment_1 should be updated, with the new User I'm following.
I saw this solution enter link description here, but I think my situation is somewhat different in that when I click on fragment_3 tab, the fragment_1 is destroyed.
Please help.