Skip navigation

Pass intent extras to detail activities

Pass intent extras to detail activities: Android Development Essential Training: Local Data Storage
Pass intent extras to detail activities: Android Development Essential Training: Local Data Storage

Most real Android apps have more than one activity, or screen. To share data between activities, you can follow a couple of different strategies. Let’s say the user touches an item in a ListView or RecylerView to select a data item. The natural response is to display the details of the selected data item. On a phone, you’ll do that by displaying a detail activity. If the data is static, or if it’s stored persistently on the device, you can just pass a unique identifier, or primary key, as something called an “intent extra”.

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