Saving Data on Android by By Fuad Kamal & By Subhrajyoti Sen & By Harun Wangereka

Saving Data on Android by By Fuad Kamal & By Subhrajyoti Sen & By Harun Wangereka

Author:By Fuad Kamal & By Subhrajyoti Sen & By Harun Wangereka
Language: eng
Format: epub
Publisher: Ray Wenderlich


Key points

Database Access Objects are commonly referred to as DAOs.

DAOs are objects that provide access to your app's data by abstracting most of the complexity behind querying and updating your database.

In Room, DAOs can be defined as interfaces or abstract classes.

@Insert is a marker, which allows you to automatically create an INSERT INTO query.

@Insert can take an OnConflictStrategy parameter, that allows you to specify what happens in case there is a conflict when creating a new database entry.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.