Idea for receiving particular data from firebase

Requirements:
  • Firebase Database
  • Some Maps
Ok , now lets start:

  •  First setup the firebase setting in library manager .
  •  Lets add components of firebase database 'fbdb' with root 'data'.
  •  Now create 2 maps, named 'receive_map' and 'send_map'.
  •  Everything is ready, i have made this:
  •  Lets go to event 'onClick Button senddata', and add blocks like this:

  •  In event OnChildAdded & OnChildChanged, we have to add blocks such that the added value would added in a map, with the key 'Childkey', similar to this:

  •  Now go to event 'onClick Button receivedata', and put this blocks: 


Logic:  Data is sent with the given key of 'edittext1' and value of 'edittext2', and when this value is added in firebase, this data is putted in other map with key 'ChildKey' and value of the data. And when we ask for receiving data, it search the map with the key given in 'edittext3' if data is available, then it will show the text. ....sorry for my bad english ;)

Comments

  1. Thank you, Did a Great Job!!

    ReplyDelete
  2. Casino Del Sol: Poker rooms with limited games, don't open
    In May the Las 정읍 출장안마 Vegas resort reopened a casino-themed 제주도 출장샵 room, with three slot 용인 출장마사지 machines 과천 출장안마 and blackjack tables. The hotel 경기도 출장샵 has a

    ReplyDelete

Post a Comment

Popular posts from this blog

How to make apk file's link ?