Skip navigation

Manage a database with a DataSource

Manage a database with a DataSource: Android Development Essential Training: Local Data Storage
Manage a database with a DataSource: Android Development Essential Training: Local Data Storage

Once you've created your Database helper class, the next step in following the best practices for managing SQLite is to create another class called a data source. Its methods will be called by the rest of the app. You can create multiple data sources in an app. For example, you might create one data source for each table in a database or one data source for each set of tasks. How you architect that is up to you. In this simple app, we use a single data source class.

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 56m
Duration
163,374
Views
Show More Show Less

Q: This course was updated on 12/15/2017. What changed?

A: New videos were added that cover bundling static data in a resource file, managing SQLite transactions, and managing SQLite databases with Room.

Q: This course was updated on 12/15/2017. What changed?

A: New videos were added that cover bundling static data in a resource file, managing SQLite transactions, and managing SQLite databases with Room.

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month