how can i get data of logged in user from firebase database : 
any one please tell how can i fetch logged in user data from firebase database these are my code. any one please tell how can i fetch logged in user data from firebase database these are my code. any one please tell how can i fetch logged in user data from firebase database these are my code






    public void getUserInfo(){
        mFirebaseDatabase = FirebaseDatabase.getInstance();
        mUserDatabase = mFirebaseDatabase.getReference("users");
       FirebaseUser user = mAuth.getCurrentUser();
                        mUserDatabase.child(userID).addValueEventListener(new ValueEventListener() {
                            @Override
                            public void onDataChange( com.google.firebase.database.DataSnapshot datasnapshot) {
                                for (DataSnapshot dataSnapshot : datasnapshot.getChildren()) {
                                    User user1 = dataSnapshot.getValue(User.class);

                                    String firstname = user1.getFirstName();
                                    String secondname = user1.getSecondName();
                                    String email = user1.getEmail();
                                    String enrollment = user1.getEnrollnumber();
                                    String branch = user1.getBranch();
                                    String college = user1.getCollege();

                                    First_name.setText(firstname);
                                    Second_name.setText(secondname);
                                    tx_Email.setText(email);
                    Enroll_number.setText(enrollment);

                }
            }
            @Override
            public void onCancelled(DatabaseError firebaseError) {
                /*
                 * You may print the error message.
                 **/
            }
        });

    }