Pass data between service and Activity

0

I'm consuming my webservice through an IntentService, I can do get of the data quietly, the doubt arose when I went to post of this data, because I have an ArrayList of objects of MyClass, which I would like to save in my external database.

I know I can go through intent.putParcelableArrayListExtra this works cool. But here comes the doubt and when my ArreyList is with a lot of data this can bring me problems? How can I proceed? Usually I run my data like this.

Intent intent = new Intent(this, GetDados.class);
intent.putExtra(GetDados.MINHAURL,"url");
startService(intent);
    
asked by anonymous 26.03.2018 / 09:24

0 answers