i'm developing an android app based on a list and a map.
When list is loaded, i get data from a webservice, it's the same data that i'm gonna use to add markers in the map.
How can i avoid loading data again?
Thanks.
Edit: I forgot to say that i'm using ABS tab control with two fragments, one for the list and other for the map. I would like to keep data in tab control activity and share it with fragments.
Is there a way to get the data from the parent activity inside a fragment? And for a long amount of data, is better to write content to sql?