mmalmeida/My-Panini — Issue #4: PopulateModel is being called twice in Adapters
Author: mmalmeida
Created: 2011-11-22 23:03:00+00:00
State: open
Labels: core

In both MIssingItems and DuplicateItems activities, the adapters are calling populateModel twice:

- once in the creation of the adapter
- once onResume (which is called also after onCreate)

Two db calls - unecessary

This also leads to:
http://stackoverflow.com/questions/5430862/difference-between-contentobserver-and-datasetobserver
http://developer.android.com/guide/topics/fundamentals/fragments.html