How to list the registered users names in Android (Firebase)?

前端 未结 2 594
青春惊慌失措
青春惊慌失措 2021-01-27 16:09

I am new to android and just learned to create a users profile like facebook or instagram, currently I have registered four users with email/password and in database am storing

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-27 16:36

    Firebase is NoSql. You need to retrieve all users from myRef.child("users") and apply iterator to get names of all users.

提交回复
热议问题