Watched till end; thanks. I liked your approach, you covered a lot in a very short amount of time. Next, enable sync on this app 😊 Thanks buddy, keep up.
hello sir, just want to ask in which order would you recommend one student in studying your kotlin courses? Modern Food Recipes App - Android Development with Kotlin Build Modern Android App with REST API and Ktor Server To-Do App with Jetpack Compose MVVM - Android Development To-Do App & Clean Architecture -Android Development - Kotlin Programming with Kotlin - Masterclass | Complete Course
Hi there. First, I would take the Kotlin Masterclass to get familiar with the language itself. Then, the To-Do app with Jetpack Compose, to learn the basics of android development with jetpack compose. And then after that, the Ktor course.
thanks for the video, a question stevdza, is your architecture pattern for the application is MVVM and if you are using daggerhilt or something similar?
@@StevdzaSan also please I would like to make a request for an explanation on using Firebase real-time database for android apps. Your way teaching resonates with me and I understand better 😌. Thanks Stevdza
Thank you , I needed this, a question though : what if i have different classes that i want to persist that have no relation to each other, should i still put them in the realm configuration builder : schema = setOf(FirstModel::class, Second::class, ... ) or it would be different collections ? and how? Also i am confused by the Documentation, 1 page says we don't need to close the realm any more in kotlin SDK, another says we should.. Thank you again for the great job done!
Hi Tarek, each class that you're creating for the purpose of persisting some data inside the realm, needs to be specified within the configuration as well, as a new collection, sure. About the second question, no you don't have to manually close the realm.
No files. But you can upload images to Firebase, and just store their url's inside. That's what I teach in my new course. Link in the video description.
Why does it return null? I saved Person to DB and I want to get Person But I check id and data is not empty override suspend fun getContact(id: String): Person? { val person = realm.query(query = "id == $0", ObjectId(id)).first().find() return person?.toPerson() }
@@StevdzaSan You have no way to return only one object, only lists (they work correctly for me, by the way). In the official documentation, it is written that in order to return one object by id, you need to do the following: val frogs: Frog? = realm.query("_id == $0", PRIMARY_KEY_VALUE).first().find() I do so...
Awesome video, simple and clean! Nice to have MongoDB in Android
Watched till end; thanks.
I liked your approach, you covered a lot in a very short amount of time.
Next, enable sync on this app 😊
Thanks buddy, keep up.
Will think about it, thanks 🙌
This is very awesome. I have always found room too tedious. Thank you for this.
What I needed! Thanks ❤️❤️
Huge respect and thanks for everything the king!
Always brings something nice
For the embedded objects (Address, Pet), instead of implementing the RealmObject interface, we need to implement EmbeddedRealmObject.
very clear, thanks a lot sir😀
awesome as always. 🔥🔥🔥
Thanks!
hello sir, just want to ask in which order would you recommend one student in studying your kotlin courses?
Modern Food Recipes App - Android Development with Kotlin
Build Modern Android App with REST API and Ktor Server
To-Do App with Jetpack Compose MVVM - Android Development
To-Do App & Clean Architecture -Android Development - Kotlin
Programming with Kotlin - Masterclass | Complete Course
Hi there. First, I would take the Kotlin Masterclass to get familiar with the language itself. Then, the To-Do app with Jetpack Compose, to learn the basics of android development with jetpack compose. And then after that, the Ktor course.
thanks for the video, a question stevdza, is your architecture pattern for the application is MVVM and if you are using daggerhilt or something similar?
beauty tutorial!
This video means a lot. Thanks 🫂
You're welcome buddy 😊
@@StevdzaSan also please I would like to make a request for an explanation on using Firebase real-time database for android apps. Your way teaching resonates with me and I understand better 😌. Thanks Stevdza
@@8bitWatermelon Thank you for your suggestion, I'm planning to do one complete playlist on that topic. 🙌
@@StevdzaSan looking forward to it 🤘
Thank you , I needed this, a question though : what if i have different classes that i want to persist that have no relation to each other, should i still put them in the realm configuration builder : schema = setOf(FirstModel::class, Second::class, ... )
or it would be different collections ? and how?
Also i am confused by the Documentation, 1 page says we don't need to close the realm any more in kotlin SDK, another says we should.. Thank you again for the great job done!
Hi Tarek, each class that you're creating for the purpose of persisting some data inside the realm, needs to be specified within the configuration as well, as a new collection, sure. About the second question, no you don't have to manually close the realm.
First like first comment 🎉❤
Great video. Is there any way to set the name for the database an enable deletemigration if needed
Awesome nice great content, how do we do migration, is there any better approach for this , auto migration?
Thanks!
Can we avoid duplicate for example the name, in room we can use unique anotation in entity and then in dao use onStrtategy-replace, how bout in realm?
Thanks for your best tutorial. I want to buy your course. Do you offer any discounts? Please
My courses are already quite affordable.
Thanks bro, but I have a question, I checked the realm db docs and they mentioned about upsert, but never understood it Can you please help me on it
It's the combination of insert & update, it will update if the specified value exists and inserts if it doesn't exist
thank you sir
what is the use of viewmodels?
is realm support inner join between data model ?
Hello Sir! Can I use Realm with xml?
Does Mongo DB Realm work with API level 33?
Yeah.
Дякую!
will it replace ROOM?
Nah, it's not about replacement but choice instead 😊
Damn Damn God is Here.........
Please Make a little useful project with MongoDB
I have a full course for that.
@@StevdzaSan paid course?
@@StevdzaSan Hey please tell where I can find that
@@name1566 First link in the video description down below.
Can it Save Pictures?
No files. But you can upload images to Firebase, and just store their url's inside. That's what I teach in my new course. Link in the video description.
@@StevdzaSan Yeah i know that. Bought it.
So maybe extra Room Database for Picture only? Like Local with Mongo DB and Room
31st...Thanks
Why does it return null? I saved Person to DB and I want to get Person
But I check id and data is not empty
override suspend fun getContact(id: String): Person? {
val person = realm.query(query = "id == $0", ObjectId(id)).first().find()
return person?.toPerson()
}
Check my repository and compare the code with yours.
@@StevdzaSan You have no way to return only one object, only lists (they work correctly for me, by the way). In the official documentation, it is written that in order to return one object by id, you need to do the following:
val frogs: Frog? = realm.query("_id == $0", PRIMARY_KEY_VALUE).first().find()
I do so...
@@PandaTop. ObjectId.from(ID)
🙏🙏🙏🙏🙏💥🐥🥺
I really wanted to learn realm from you @stevdza 😞 but i don't have enough money to buy this course
Thanks!
Thanks!
Thanks!
Thanks man, I really appreciate it. :)