How to put firebase key in listviewer?

After accessing the test node (in your case, replace test with /) we have the data

{
“data”:“data”,
“data1”:“data1”,
“data2”:“data2”,
“data3”:“data3”
}

Remove from the resulting string { and } and ", create a list of pairs from which we get the key value. Label1 is used for debugging.

1 Like