Skip navigation

On September 14th, 2017, we published revised versions of our Privacy Policy, Terms of Service and Website Use Policy and published a Cookie Policy. Your continued use of Lynda.com means you agree to these revised documents, so please take a few minutes to read and understand them.

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 9m
Duration
98,337
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