-1
我想一个ID是整数,并且不希望使用Push.For 例如:如何在Android中将ID作为整数添加到Firebase数据库中?
{
"chats": {
"1": {
"title": "Historical Tech Pioneers",
"messages": {
"1": { "sender": "ghopper", "message": "Relay malfunction found. Cause: moth." },
"2": { ... },
}
},
"2": { ... }
}
}
谢谢@deepmalasingh –