Question

I am creating an Android App using MvvmCross.

Before calling some service,I want my MvxActivity should first check app's isolated storage whether that data is present in its isolatedStorage, if it is then it should populate its UI controls(eg. ListView,Spinner etc.)by fetching data from isojatedstorage otherwise call service and then populate them using data received from service.

How can i achieve this?

Was it helpful?

Solution

OTHER TIPS

Another option is to use that plugin for Android (i didnt dig to deep inside), but for Windows Phone i had used this solution for downloading/storing images and here is my own lib for storing any text data in the isostorage (serialization/deserailzation is included).

I use PCLStorage, it's cross platform. Just search for it on NuGet.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top