skip to Main Content

Can I view my Firebase database data in my EditText view?

I have tried using the following if statement, but the only values that it returns are the URL for my image link: reference.child("Businesses").child(firebaseUser.getUid()).addValueEventListener(new ValueEventListener() { @Override public void onDataChange(@NonNull DataSnapshot snapshot) { if (snapshot.exists()) { String businessName = snapshot.getValue().toString(); editTextBusinessName.setText(businessName);…

VIEW QUESTION
Back To Top
Search