I am trying to display data from a firebase database to a recycle view and I am having a problem with displaying the data when I input the number and it display nothing and I am using this code

result.java

package com.example.profile;

import androidx.appcompat.app.AppCompatActivity;
import androidx.drawerlayout.widget.DrawerLayout;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.annotation.NonNull;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.Toast;
import android.widget.EditText;
import android.view.inputmethod.EditorInfo;
import android.util.Log;
import android.text.InputType;

import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.database.ValueEventListener;
import java.util.ArrayList;

public class Result extends AppCompatActivity {
    DrawerLayout drawerLayout;
    private static final String TAG = "Result";
    private EditText mNodeNameEditText;
    private DatabaseReference mDatabaseRef;

    private RecyclerView mRecyclerView;
    private RecyclerViewAdapter mAdapter;
    private ArrayList<Pair<String, String>> mData;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_result);

        drawerLayout = findViewById(R.id.drawer_activity);

        mNodeNameEditText = findViewById(R.id.node_name_edit_text);

        // Set up RecyclerView
        mRecyclerView = findViewById(R.id.recycler_view);
        mRecyclerView.setHasFixedSize(true);
        mRecyclerView.setLayoutManager(new LinearLayoutManager(this));

        mData = new ArrayList<>();
        mAdapter = new RecyclerViewAdapter(Result.this, mData);
        mRecyclerView.setAdapter(mAdapter);

        // Set default node of the database
        mDatabaseRef = FirebaseDatabase.getInstance().getReference("users");

        mNodeNameEditText.setInputType(InputType.TYPE_CLASS_TEXT);
        mNodeNameEditText.setOnEditorActionListener((textView, i, keyEvent) -> {
            if (i == EditorInfo.IME_ACTION_DONE) {
                String nodeName = mNodeNameEditText.getText().toString().trim();
                if (!nodeName.isEmpty()) {
                    retrieveData(nodeName); // Retrieve data for entered node name
                } else {
// Display a toast to ask the user to provide input
                    Toast.makeText(Result.this, "Please enter a phone number", Toast.LENGTH_SHORT).show();
                }
                return true;
            }
            return false;
        });
    }

    private void retrieveData(String phoneNumber) {
        DatabaseReference myRef = mDatabaseRef.child(phoneNumber); // Get reference for entered phone number

        myRef.addListenerForSingleValueEvent(new ValueEventListener() {
            @Override
            public void onDataChange(@NonNull DataSnapshot dataSnapshot) {

                mData.clear(); // Clear the previous data

                // Loop through all child nodes (unique identifiers)
                for (DataSnapshot idSnapshot : dataSnapshot.getChildren()) {
                    String name = idSnapshot.child("soreness_label").getValue().toString();
                    String emgData = idSnapshot.child("emg_data").getValue().toString();
                    String gsrData = idSnapshot.child("gsr_data").getValue().toString();
                    String timestamp = idSnapshot.child("timestamp").getValue().toString();

                    mData.add(new Pair<>("Soreness Label", name));
                    mData.add(new Pair<>("EMG Data", emgData));
                    mData.add(new Pair<>("GSR Data", gsrData));
                    mData.add(new Pair<>("Timestamp", timestamp));
                }

                mAdapter.notifyDataSetChanged(); // Notify the adapter about the data change
            }

            @Override
            public void onCancelled(@NonNull DatabaseError databaseError) {
                Log.w(TAG, "Failed to read value.", databaseError.toException());
            }
        });
    }

}

activity_result.xml

<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/drawer_activity"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Result">


    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <EditText
            android:id="@+id/node_name_edit_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="8dp"
            android:hint="Enter node name"
            app:layout_constraintTop_toTopOf="parent" />

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/recycler_view"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_marginTop="8dp"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/node_name_edit_text" />

    </androidx.constraintlayout.widget.ConstraintLayout>

    <RelativeLayout
        android:layout_width="300dp"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:background="@color/white">

        <include layout="@layout/main_navigation_drawer" />
    </RelativeLayout>

</androidx.drawerlayout.widget.DrawerLayout>

this is the structure of the database

/users/09123456789/-NT4APgDfX15GW0fi1pP

-NT4APgDfX15GW0fi1pP
emg_data
:
930
gsr_data
:
394
soreness_label
:
"exhausted"
timestamp
:
"2023-04-15 06:49:33"