I was just thinking about what is the different between those 2 libraries
As what is the diffrenet betweent coding this:
FirebaseDatabase database = FirebaseDatabase.getInstance();
DatabaseReference myRef = database.getReference("https://....firebaseio.com/");
And this:
Firebase RootRef = new Firebase("https://....firebaseio.com/");
Also I was trying to make it more simpler by using just the com.google.firebase.database library by coding:
FirebaseDatabase RootRef =
new FirebaseDatabase("https://.....firebaseio.com/");
And it gives me error:
Error:(18, 46) error: constructor FirebaseDatabase in class FirebaseDatabase cannot be applied to given types;
required: FirebaseApp,zzbpk,zzbpb
found: String
reason: actual and formal argument lists differ in length
Aslo on pointing to FirebaseDatabase it displays:
'FirebaseDatabase(com.google.firebase.FirebaseApp, com.google.android.gms.internal.zzbpk, com.google.android.gms.internal.zzbpb)' has private access in 'com.google.firebase.database.FirebaseDatabase'
Thanks in advance wish it be simple to readers Any Ideas ?