<access child database in firebase always returns ...
# stackoverflow
u
access child database in firebase always returns null using android studio &amp; kotlin ive been having problems accessing this child database in firebase, it always return null, been searching up online for days and still got no answer...heres my code, im using kotlin and firebase auth = FirebaseAuth.getInstance() database = FirebaseDatabase.getInstance() databaseReference = database?.reference!!.child("users") val nikReference = databaseReference?.child("nik") val mainDB = nikReference?.child("jabatan") val user = auth.currentUser etEmailUserShow.text = user?.email...