On Apr 14, 2014, at 11:04 AM, Ami Kapadia <[email protected]> wrote:

> So, If I write logic of refreshing list in window.dbChanged(), it will 
> refresh list thousand times.

It's better to put in a delay so you don't refresh the list more often than 
once or twice a second.

> Can you tell me is there any flag which tells that synchronization is now 
> done. So, I can refresh list there.

Are you sure you want to wait that long? If syncing takes a while, your list 
would be out of date with the database.

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/96B0E4F3-99DD-440B-883C-704CA86ECE7E%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to