To read data, different events types are facilitated by Firebase.
The earlier chapter Firebase Read Data discuss about the event type Value. Each time the data changes, Value method is selected to retrieve all the data
Whenever a new player is added to the database, for every player child_added method is selected once. Child_added method facilitates in reading the data list as it has the information about the added player and previous player from list.
Result appears as:
If a new player, for instance, ‘Bob’ is added then the updated data appears as:
When the data is chaged, child_changed event type is selected.
When child name ‘Bob’ is changed to ‘Maria’ the update appears as:
child_removed event type is used to access the data which is deleted.
Maria can be deleted frOM the Firebase and a notification appears as :
Firebase Related Interview Questions
|IPHONE APPS Interview Questions||Database Interview Questions|
|Mobile Testing Interview Questions||jQuery Mobile Interview Questions|
|Bada Mobile OS Interview Questions||Mobile Security Interview Questions|
|Mobile Developer Interview Questions||Mobile Application Testing Interview Questions|
|Citrix XenApp Interview Questions||Mobile Application Architect Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.