Create a CardView only if object have a specific value in Firebase
问题 I have objects in my firebase database called userForm . Each userForm have an instance variable called isPassedInspection that is either set to true or false in my firebase. users can send Form object to my firebase, therefore I manually set isPassedInspection to true once I consider the form they send as "approved" by my standards. I would like that my RecyclerView only create CardViews for userForm that it's isPassedInspection is true, otherwise, don't create a CardView (return null). This