I have a view pager that is a fragment. Inside this, I have three fragments each one show a list of items that have the same model but filtered by one state (property in my model), for example like whatsapp that I have one list for all my conversations, other for conversations that I haven't read and finally other for that I've read.
The problem is that I have to refresh all the data when I'm inside the first fragment (all my conversations). So, I've tried to get all my data in the container fragment(view pager) but I cant see my first list with data(all my conversations) because when the container view is created, the first and second fragments is created too.
How can I get the data in the container (view pager) and immediately show the respective list in each child fragment?