how to create custom listview use cardview layout in android

Опубликовано: 26 Ноябрь 2025
на канале: Basic Skills
18,845
102

Android ListView
Listview is a view which groups several items and display them in vertical scrollable list. The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database
Cardview
CardView uses elevation property on Lollipop for shadows and falls back to a custom emulated shadow implementation on older platforms.Due to expensive nature of rounded corner clipping, on platforms before Lollipop, CardView does not clip its children that intersect with rounded corners. Instead, it adds padding to avoid such intersection