![]() Optionally, in a coding challenge, extend the app to allow the user to update existing words.Allow users to delete a specific word by swiping an item in the list.Allow users to delete all words by selecting an Options menu item.Update the RoomWordsSample app to keep data when the app closes.Update existing data (if you build the challenge app).Populate the database with data only if the database is empty (so users don't lose changes they made to the data).You learned these topics in the previous practical, 15.1A: Working with Architecture Components: Room, LiveData, ViewModel. Using entity classes, data access objects (DAOs), and the RoomDatabase to store and retrieve data in Android's built-in SQLite database. ![]() In particular, be familiar with the following: You should be able to create and run apps in Android Studio 3.0 or higher. The practical also includes a coding challenge, in which you update the app so the user can edit existing data. You will add the ability to delete specific items from the database. ![]() This practical gives you more practice at using the API provided by the Room library to implement database functionality. Add an Options menu item to delete all data Initialize data only if the database is empty The practical workbook for the Advanced Android Development course is now available as Unit 6: Working with Architecture Componentsġ4.1B: Deleting and updating data with Room 3.2: Working with sensor-based orientationĤ.1A: Using the Profile GPU Rendering toolĤ.1B: Using the Debug GPU Overdraw and Layout Inspector toolsĤ.1C: Using the Systrace and dumpsys toolsĤ.3: Optimizing network, battery, and image useĥ.2: Using the locale to format informationġ0.1A: Creating a custom view from a View subclassġ0.1B: Creating a custom view from scratchġ1.1C: Applying clipping to a Canvas object
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |