Skip navigation

Handle user events in a RecyclerView

Handle user events in a RecyclerView: Android Development Essential Training: Local Data Storage
Handle user events in a RecyclerView: Android Development Essential Training: Local Data Storage

When the user touches an item in the RecyclerView, you can handle that event by adding a bit of code in one of the component’s methods. RecyclerView supports the most common events you might want to handle, such as click and long-click events. When using the older ListView, you put your event handing code in the activity or fragment that "owns" the list. With RecyclerView, that code goes in the adapter that manages the visual presentation.

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 56m
Duration
171,532
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