Skip navigation

Manage a database with a DataSource

Manage a database with a DataSource: Android App Development Essentials: Local Data Storage
Manage a database with a DataSource: Android App Development Essentials: 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 9m
Duration
14,362
Views
Show More Show Less

Continue Assessment

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

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now