I would like to implement a ListView that is automatically updated with any changes to the local db (Observer Pattern). I have read that Loaders and ContentProviders do not play nicely with greenDAO as of now, so I would like to know the recommended approach?
I would like to implement a ListView that is automatically updated with any changes
Share
you can add your own listener (observer or propertychangeListener) like I do here for updating a listView when add or delete something :
this above can be done in database controller …
in the class where my listView is I intercept the event like this: