小编Sur*_*kha的帖子

如何从android中的firebase获取子值的子项?

如何获得ZNAME值?最初我需要比较密钥(Ex :: Here ZONE_1)然后ZNAME需要得到.提前致谢...

android firebase firebase-realtime-database

11
推荐指数
1
解决办法
4万
查看次数

如何从firebase数据中获取特定键值?

{
  "DIV_1" : {
    "ACTINACT" : 1,
    "COORDINATOR" : "10CA056",
    "DIV_CODE" : "BSL",
    "DIV_ID" : 1,
    "DIV_NAME" : "Bhusawal",
    "ERP_LOC_CODE" : "CRB",
    "MTIME" : "2017-04-08T11:02:59",
    "ZONE_ID" : "ZONE_1"
  },

  "DIV_10" : {
    "ACTINACT" : 1,
    "COORDINATOR" : "06CS011",
    "DIV_CODE" : "UMB",
    "DIV_ID" : 10,
    "DIV_NAME" : "Ambala",
    "ERP_LOC_CODE" : "NRA",
    "MTIME" : "2017-04-08T11:02:59",
    "ZONE_ID" : "ZONE_3"
  }
}
Run Code Online (Sandbox Code Playgroud)

如何获得DIV_ID?最初我需要比较密钥(Ex :: Here DIV_10)然后DIV_NAME需要得到.提前致谢...

android android-studio firebase-realtime-database

3
推荐指数
1
解决办法
4447
查看次数