Tuesday, December 10, 2013

Listen to firebase

There are event described in firebase manual. Some diffrencies:

value 
- load all childs at  first
- if something is changed/create/remove
- always load all child
child_added
- load all childs at  first
- only if child is created
- load only created child
child_removed
- only if child is removed
- load only removed child
child_changed
- if something is changed
- if is create or remove child´s child - but only if the remove don´t remove all child
- load only changed child

No comments:

Post a Comment