I use TouchDB to replicate a database and display its contents in a series of ListViews in a ViewPager. The problem I'm having is that on the first replication, TouchDB calls it onSuccess () / onPostExecute () before it finishes replicating, i.e. I cannot call invalidate () on my ViewPager to get it to draw ListViews.
Is there any solution for this?
source share