0
I need to retrieve all users within a user node, follow firebase structure:
To recover these values I am making an addListenerForSingleValueEvent, follows code:
    private DatabaseReference firebaseRef;
    private DataSnapshot usuariosSnapshot;
firebaseRef = ConfiguracaoFirebase.getFirebase();
                //recuperar usuarios para criação do feed na hora da postagem
                DatabaseReference usuariosRef = firebaseRef
                        .child("usuarios");
                usuariosRef.addListenerForSingleValueEvent(new ValueEventListener() {
                    @Override
                    public void onDataChange(DataSnapshot dataSnapshot) {
                        usuariosSnapshot = dataSnapshot;
                    }
                    @Override
                    public void onCancelled(DatabaseError databaseError) {
                    }
                });
                postagemPendente.salvar(usuariosSnapshot);
even though the reference is pointing to the right place the users still shows as null, what I need to do to catch all these values from within the users node?
Note: All this inside an Adapter, which I find irrelevant but due to doubts.

"firebaseRef = Configuracaofirebase.getFirebase();"on this line I already configure getReference
– Luis Felipe