![]() ![]() ![]() In this codelab, you extend the app to read and display the data, and update and delete entities on the database using a Room library. Note: The current version of the starter app doesn't display the data stored in the database. The user can use the Add Item screen to add data to the app database. The starter app already saves data with the Room persistence library. This codelab uses the Inventory app solution code from the previous codelab, Persist data with Room as the starter code. An Inventory app that displays a list of inventory items and can update, edit, and delete items from the app database using Room.How to update and delete entities from a SQLite database using the Room library.How to read and display entities from a SQLite database.Completion of the previous codelab in this unit, Persist data with Room.Ability to display list items in a Laz圜olumn.Ability to use a data access object (DAO) to map Kotlin functions to SQL queries.Ability to create an entity, DAO, and database classes.Ability to create and interact with the SQLite database using the Room library.You will use a Laz圜olumn to display the data from the database and automatically update the data when the underlying data in the database changes. In this codelab, you'll add more features to the Inventory app and learn how to read, display, update, and delete data from the SQLite database using Room. You learned in the previous codelabs how to use a Room persistence library, an abstraction layer on top of a SQLite database, to store the app data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |