Alan RamirezWhat does @ColumnInfo doThis annotation is used on values and variables inside your data classes for example:Oct 7, 2020Oct 7, 2020
Alan RamirezCreating the DAO with the CRUD functionalityThe android Room library uses a DAO or Data Access Object to hold database operations (Queries) that can be called on your database.Sep 28, 2020Sep 28, 2020
Alan RamirezCreating a Room DatabaseAssuming that you have the following Entities:Sep 28, 20201Sep 28, 20201
Alan RamirezHow to make Room EntitiesAn entity is in short, a type that a database table can be.Sep 28, 2020Sep 28, 2020
Alan RamirezWhat does @Dao doThis annotation is used by the Room persistence library to denote that the class holds functions that can act on a DatabaseSep 22, 2020Sep 22, 2020
Alan Ramirezwhat do @Insert, @Update, @Delete, or @Query doThese are all convenience annotations for the Room persistence library.Sep 22, 2020Sep 22, 2020
Alan RamirezWhat does @Database doThis annotation lets Room know that this is a database object. It requires that you pass in two parameters, a version and a list of…Sep 22, 2020Sep 22, 2020
Alan RamirezWhat is a companion objectA companion object holds variables and values that belong to all instances of the class they are inside of. All instances of the class can…Sep 21, 2020Sep 21, 2020
Alan RamirezWhat does @Volatile doThe @volatile annotation is part of the Kotlin programming language, and it is used for multithreading operations.Sep 21, 2020Sep 21, 2020
Alan RamirezWhat does synchronized and LOCK doThe synchronized(){} method belongs to the category of multithreading concepts. It is used to stop threads from simultaneously accessing…Sep 21, 2020Sep 21, 2020