I am new to firebase via Android(Java) and was wondering how to check if a user already exists in a database of the following format:
gdb-2fbgg{
u
Declare hander with delay as per your preference in onCreate() and call a method from here
Handler h = new Handler();
h.postDelayed(new Runnable() {
@Override
public void run() {
ok();
}
},3000);
Then create this method body
public void ok(){
Toast.makeText(this, "Count is : "+adapter.getItemCount(), Toast.LENGTH_SHORT).show();
}
Now you will get count after specfied delay