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 9m
Duration
90,314
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