Skip to Content
Android Studio 4.2 Development Essentials - Java Edition
book

Android Studio 4.2 Development Essentials - Java Edition

by Neil Smyth
August 2021
Intermediate to advanced
782 pages
22h 37m
English
Packt Publishing
Content preview from Android Studio 4.2 Development Essentials - Java Edition

48. An Android RecyclerView and CardView Tutorial

In this chapter an example project will be created that makes use of both the CardView and RecyclerView components to create a scrollable list of cards. The completed app will display a list of cards containing images and text. In addition to displaying the list of cards, the project will be implemented such that selecting a card causes messages to be displayed to the user indicating which card was tapped.

48.1 Creating the CardDemo Project

Select the Create New Project quick start option from the welcome screen and, within the resulting new project dialog, choose the Basic Activity template before clicking on the Next button.

Enter CardDemo into the Name field and specify com.ebookfrenzy.carddemo ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Studio 4.1 Development Essentials – Java Edition

Android Studio 4.1 Development Essentials – Java Edition

Neil Smyth

Publisher Resources

ISBN: 9781803238814Supplemental Content