-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 –