Firebase从多个节点检索数据

时间:2016-12-01 15:05:51

标签: android firebase firebase-realtime-database

如何检索用户的所有出版物' 04a86MjHKnUyPT173jyzgoYcVyA3'并出版他的朋友

enter image description here

enter image description here

   mDatabase = FirebaseDatabase.getInstance().getReference().child("Publication").child(iduser);
            mDatabase.keepSynced(true);


            firebaseRecyclerAdapter = new FirebaseRecyclerAdapter<AdapterPublication, CardViewHolder>(

                    AdapterPublication.class,
                    R.layout.card_view,
                    CardViewHolder.class,
                    mDatabase )

0 个答案:

没有答案