Question: While sending data from android to firebase database, there might be successful status or unsuccessful. Suppose you have to pass the data generated by below

While sending data from android to firebase database, there might be successful status or unsuccessful. Suppose you have to pass the data generated by below scenario to firebase database. In order to implement, write complete procedure of both cases in onResume method of an activity. Define both listeners and show each response in alertdialog box. Scenario to generate data "build a hashmap of 10 Boolean values within the loop. Put hasmap value "true" if loop iteration is even otherwise odd. Moreover, add 5 string random values of A-F combination in the hashmap) While sending data from android to firebase database, there might be successful status or unsuccessful. Suppose you have to pass the data generated by below scenario to firebase database. In order to implement, write complete procedure of both cases in onResume method of an activity. Define both listeners and show each response in alertdialog box. Scenario to generate data "build a hashmap of 10 Boolean values within the loop. Put hasmap value "true" if loop iteration is even otherwise odd. Moreover, add 5 string random values of A-F combination in the hashmap)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
