Chin Chun Seong
Lurker
I would like to do a filter on only ht==176, but I cant found reference on it and some of it maybe difference from my coding pattern, anyone can help me on this topic ?
Query query=reff.child("Member").orderByChild("ht").equalTo("176");
query.addListenerForSingleValueEvent(new ValueEventListener() {
@override
public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
String value = (String) dataSnapshot.getValue();
textView_result.setText(editText_name.toString());
}
@override
public void onCancelled(@NonNull DatabaseError databaseError) {
}
});