androidparse-platformlocal-datastore

Check whether local datastore is empty


I am learning to build android app using Parse. I need to check if Parse local datastore is empty, i.e there are currently no pinned objects on the datastore.

Is there a simple way to do it ?


Solution

  • There is. Query the local datastore and check if the number of returned objects == 0