Hi 
    We need solution for android

Thank's

On Monday, January 20, 2014 11:25:10 PM UTC+5:30, Jens Alfke wrote:
>
>
> On Jan 20, 2014, at 3:55 AM, Srinivas Tirumala 
> <[email protected]<javascript:>> 
> wrote:
>
> Is there any listners or methods which will notify us the data changed in 
> Couchbase server so that we can update on UI.
> For example i changed project name from abc to abcd ,to update ui is there 
> any listners which will listen for database changes.
>
>
> There are quite a few ways:
>
>
>    - Observe kCBLDatabaseChangeNotification, as Andrew points out; or
>    - If you have a CBLDocument instance, 
>    observe kCBLDocumentChangeNotification posted by it; or
>    - If you have a CBLModel instance on a document, use KVO to observe 
>    property changes; or
>    - Start a CBLLiveQuery and use KVO to observe changes to its .rows 
>    property
>
>
> —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/5a149c62-706e-48e9-a869-800b6be41f68%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to