That is funny. I've been wondering why my apps can't write databases. The answer is that database's rules for read and write set to be false. You guys need to check the "rules" on firebase web. It is between "Data" and "Backups"
Hey, how would you save another entity in one entity? For example, you have a data class User and the User has Post which is another data class. How would you implement this scenario? Thank you.
great video, just one question, if i have more than one activity and both most write or read data from the database, do i need to create a database instance per each activity? thanks
@@_foxandroid Please give me the answer? If i have to use the Realtime Database then I am adding the realtime database library which is 'com.google.firebase:firebase-config-ktx' for this Have i also need to include the cloudstorage library? which is 'com.google.firebase:firebase-storage-ktx' ?
I've got some problem, when I'm trying to set setOnClickListener to button and i'm typing "binding.", program doens't see my created Button. Even when I'm creating an object by val addToBase: Button = findByViewId(R.id.addToBase) it still doesnt work for me :(
@@_foxandroid Ok, i found a solutions. I had issues because I'm working with many activities and I couldn't get reference to button from activity other than MainActivity. I had to change "private lateinit var binding: ActivityMainBinding" name to the name of my Activity which wasn't AcitvityMain. Thanks anyway!
@@_foxandroid hey man, may I send pics of my code? I've got some problem with saving data and I dont know why. Btw, link to your instagram isnt correct
In firebase you have username as a root for user data. How to make a root folder inside the username. I mean, In my case, Subjects >subject name :subject 1>( image url....) Subject 2>(its properties)...
That's really helpful for beginners, get succeed by watching this video after facing failures today about 7 to 8 times
Do you have any problem where the Realtime Firebase does not automatically create a reference node?
For those of you who get a Failure message, be sure to make your database rules true for read and write.
That is funny. I've been wondering why my apps can't write databases. The answer is that database's rules for read and write set to be false. You guys need to check the "rules" on firebase web. It is between "Data" and "Backups"
Hey, how would you save another entity in one entity? For example, you have a data class User and the User has Post which is another data class. How would you implement this scenario? Thank you.
great video, just one question, if i have more than one activity and both most write or read data from the database, do i need to create a database instance per each activity? thanks
Yes you have to
You make really good videos! Thanks!! :)
man i binding can't read the parameters from the dataclass i already included thet viewbinding in the gradle as well as on the main file
I have a question if i haven't any reference on my database for the path from previously will it create one reference for me or not work?
Yrs it will be created automatically
@@_foxandroid okk now i understand i have done all the linking and sdk but somehow for some reasons my rtdb is not working rhanks bro..m
@@_foxandroid Please give me the answer? If i have to use the Realtime Database then I am adding the realtime database library which is 'com.google.firebase:firebase-config-ktx' for this Have i also need to include the cloudstorage library? which is 'com.google.firebase:firebase-storage-ktx' ?
I've got some problem, when I'm trying to set setOnClickListener to button and i'm typing "binding.", program doens't see my created Button. Even when I'm creating an object by val addToBase: Button = findByViewId(R.id.addToBase) it still doesnt work for me :(
Share code pics on ig
@@_foxandroid Ok, i found a solutions. I had issues because I'm working with many activities and I couldn't get reference to button from activity other than MainActivity. I had to change "private lateinit var binding: ActivityMainBinding" name to the name of my Activity which wasn't AcitvityMain. Thanks anyway!
@@_foxandroid hey man, may I send pics of my code? I've got some problem with saving data and I dont know why. Btw, link to your instagram isnt correct
@foxandroidblog
It will be really helpful if you make the full CRUD with otlin and firebase
In firebase you have username as a root for user data. How to make a root folder inside the username.
I mean, In my case,
Subjects >subject name :subject 1>( image url....)
Subject 2>(its properties)...
Add childs of child nodes
@@_foxandroid thanks bro.. 😄
what if user try to register username that already exists in database? error?
i followed the process but i cant save nothing in the data base, when i tap on my button simply nothing appen
same here
I have a problem when pressing the button the application closes.
Share code pics on IG
Same. Did you manage to solve this?
Bro make the Playlist of it...
Waiting for remaining CRUD operations...
I have a question, It is not working for text fields with Google's material design. How to solve this?
DM code Pics on IG
Thank you for this tutorial. great work
sir this is the register part, can you do a login part video?
can i do this from a fragment not an activity
Yes
my code is not running in firebase realtime
非常棒的教學!!! 很感謝你 :)
please make video on open Activity from fragment by clicking button
Sure
your video helped me Man!
Halo. I love this tutorial. But i wanna ask you. How to save data with the many node.. Example
Users > name > age .. then all data in the Age node.. 🙏
Hi Sir may I know what is the gradle setting?
thank you for this tutorial, you saved my homework. Great work!
How to stop empty entry to firebase?
You can do that at the client side..
create a validation function for all entries before pushing it to the RTdB
.clear() doesnt work
exact :/
Thanks bro Thanks...
Thank you so much
❤️👍🏻
merci!!!!!