D
D
DeNissss44442020-12-17 15:08:03
Android
DeNissss4444, 2020-12-17 15:08:03

Why when I want to receive all message id from FireBase it gives me some left id?

Why when I want to get all message id from FireBase it gives me some left id? This is how I get message id from chat

String smsUser = myRef.child("Messages").child("Sms").push().getKey();
holder.message.setText(smsUser);

The result, of course, looks like an id, but these are absolutely not the id in which the message and the information I need are stored.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question