Рет қаралды 31,131
Learn Type Converters in Android Room Database. Learn how to implement a singleton pattern for Room Database in Kotlin to have a single instance of the database for the whole application. Room Persistence library is like an ORM tool that helps in storing entities directly into the database. SQLite supports limited data types, to support custom data types or other types such as Date or UUID - we need TypeConverters.
Learn how to use companion object with @Volatile and synchronized block in Kotlin. Learn how to use SQLite in Android using Room Jetpack Architecture Components. Learn all this about Android Jetpack Components in Hindi by creating small projects.
These components help in writing clean code and help in following clean architecture in android. Learn all this about Android in Hindi by creating small projects. Everything is explained in Hindi (हिंदी में )
Topics Covered -
1. Singleton Pattern in Kotlin
2. Thread Safe Singleton pattern implementation - Room Database
3. Need of Singleton
4. TypeConverters (@TypeConverter, @TypeConverters) in Android Room
5. Simple Example of Room Database
Kotlin Companion Object Video -
• Kotlin Companion Objec...
ViewModel Concept -
• Android ViewModel Tuto...
ViewModelFactory -
• Android ViewModel Fact...
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step...
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
For more info - visit the below link
www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode