标签: android
this the structure of my firebase database and as you can see there is Uid inside the random ID under comments chile. can someone help me how to get that Uid
答案 0 :(得分:1)
我真正不理解你的问题的第一件事就是试着详细解释。
DatabaseReference myRef = database.getReference(" Comments");
您可以通过上面的行和addValueEventListener获取您的评论的引用。通过这样做,您将获得评论中的所有可用数据。之后,如果您需要特定的UUID,则只需过滤数据。