ROOM Database - #2 Read and Write Data | Android Studio Tutorial | Kotlin | 2022
HTML-код
- Опубликовано: 21 июн 2022
- ROOM Database - #2 Read and Write Data | Android Studio Tutorial | Kotlin | 2022
This video with full audio : • ROOM Database - #2 Rea...
Follow me on Discord: / discord
Follow me on Instagram: / foxandroidblog
Follow me on Facebook: / foxandroidblog
Source Code: github.com/foxandroid/RoomDB
---------------------------------------------------------------------------------------------------------------------------------------------------------
Equipment I Use to Make My videos:
📱 Phone -: amzn.to/3px6ucS
🎧Earphones -: amzn.to/3JecI98
🎙️Mic - : amzn.to/310u7Rp
🎙️Mic - : amzn.to/3He96SW
🔊Speakers - : amzn.to/3Hgfzg8
💾External HardDrive - amzn.to/3JoRzZV
💻 My PC build: www.amazon.in/shop/foxandroid
--------------------------------------------------------------------------------------------------------------------------------------------------------
Hey Developers,
In this video, I have explained :
* How to write data to ROOM Database
* How to read data from ROOM Database
Read Image From External Storage API 30+ using Kotlin
• Read Image From Extern...
Read Image From External Storage API 30+ using Java
• Read Image From Extern...
StartActivityForResult Deprecated Solution using Java
• StartActivityForResult...
Bottom Navigation Bar - Android Studio | Fragments | Java | 2022
• Bottom Navigation Bar ...
Bottom Navigation Bar - Android Studio | Fragments | Kotlin | 2022
• Bottom Navigation Bar ...
ROOM Database - #1 Database Initialization
• ROOM Database - #1 Dat...
#room #database #android #kotlin Наука
This video with full audio : ruclips.net/video/oeRF5mSaM4Q/видео.html
Hi Foxandroid,
I want to downgrade my projects Kotlin version to 1.6.21 can you please tell how can I do it.
kotlin : is there any way to copy existing database from assets to android studio , thankyou so much !
i get an error saying "lateinit property appDB has not been initialized"
OH MY GOD i am soo stupid.. i didn't watch the whole video first
Hi foxandroid, my app wont read data from the room database..what should be the problem?
I don't know why but I keep getting the error even I follow step by step, but the code I downloaded from the github is perfectly fine. Did you add anything that you did'nt show us?
I get "Not sure how to convert a Cursor to this method's return type" error, but works fine if I removed "suspend" in the dao.
Yes same error I'm getting as well and I wasted whole day inspecting my code and matching with one in video
Same Problem and he not replying to anyone
Please check the dependency and plugins used in the project also try to clean the project and rebuild
@Ayush You also check the dependency and plugins with the one used in the GitHub repo
@@_foxandroid Already checked I copied from github and pasted in my project it does't work only errors. Please make a new video on room db
Please someone I have an error with :
binding.firstname.text = data.firstname
In the main activity the underlined part is from data.firstname and I have checked the naming is fine. ^_^
I'm doing same with dialogue box but it's not happening can you please tell how to do that with dialogue
Sir, I work for school i card, I want to make an app to capture data along with data entry, so please upload a video of it.Sir, I work for school i card, I want to make an app to capture data along with data entry, so please upload a video of it.
What the heck For You it is working for me it is not working in ActivityMainBinding
Please join the weekend doubt session on our discord server
@@_foxandroid Yeah Fine I will join
@@_foxandroidThis program is running but when I implement on other programs, it gets a lot of error
is anyone using java anymore?
yes people are still using java. it is not like kotlin is just another flavor of java like scala
It crashes the app at the Room.databaseBuilder.build(), I'm passing the activity.applicationContext from a Fragment to a ViewModel and that's where I call the getDatabase. In the error it says something about a App_DatabaseImpl doesn't exist
You need to change your build.gradle file as shown in his previous video (ROOM Database #1). I got the same error you did.
Specifically in my configuration, I had to change the plugins section to have id 'kotlin-android' and id 'kotlin-kapt' and the dependencies section to have implementation "androidx.room:room-runtime:2.4.3" kapt "androidx.room:room-compiler:2.4.3" and implementation "androidx.room:room-ktx:2.4.3"