1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to save and read back sharedpreferences with a RESTful web service in android?

Discussion in 'Android Apps & Games' started by getja, Sep 5, 2011.

  1. getja

    getja Lurker
    Thread Starter

    The current app that I'm creating is using gson to parse and populate a listview via a remotely hosted json file. I have an options menu inside my app that I would like to use that will allow users to select/deselect items so that they will either show (if selected) or not show (if deselected) inside the listview that is shown on screen via the remote json file.

    My question is, how do I go about implementing this function? Can I simply use a shared preferences? Is it even possible to hide certain list items while using a json file?

    I've been having a lot of trouble trying to figure this out so any and all help will be greatly appreciated.

    1. Download the Forums for Android™ app!



Share This Page