0
firebaseRecyclerAdapter
のクエリを実行して、ユーザーがフォローしているユーザーの投稿を表示する必要があります。firebaseRecyclerAdapterのクエリを作成して、ユーザーがフォローしているユーザーの投稿を表示する方法
post {
1 {
post_image: abc
uploaded_by: a
}
2 {
post_image: def
uploaded_by: b
}
}
followers {
here b and c are following a
a {
b: b
c: c
}
}
following {
here a is following b and c
b {
a: a
}
c {
a: a
}
}
followers/aの子を読み込んで、それらを反復し、uploaded_by = a、bなどの投稿ノードを照会すると何か問題があります。あなたが試したことを示すために投稿してください。 – Jay
私はそれをしようとしましたが、アダプタに渡すことができるクエリを作成することができませんでした、それは常にループの最後の値を取る –