what it retrieves null ?
because you use number as tag? Here number is considered as an index in a list. and the index is counting from 0, so, you have a null, since you did not specify index 0.
try a String as tag please.
sir you are absolutely correct.
But the tag must be counting numbers. when anybody message then the counting number will automatically increased by 1. is there any alternative method to get rid of null?
Either start at 0 to use firebase arrays, or add a 0 to 1 to make 01
starting with 0 works fine.
You may want to read this:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.