codes

codes


FirebaseDatabase db = FirebaseDatabase.getInstance();
FirebaseUser user= FirebaseAuth.getInstance().getCurrentUser();
String uid = user.getUid();

final DatabaseReference userRef = db.getReference(uid);