Recyclerview with Cardview in Android Studio Part 1: Dispaly items

preview_player
Показать описание
In this Android WorldClub tutorial, I am going to show you how to create Recyclerview with Cardview in Android Studio Display items. This tutorial is very helpful for beginners. Beginners can easily learn and understand, how to create Recyclerview with Cardview in android studio.

PLEASE LIKE, SUBSCRIBE, COMMENT, SHARE AND PRESS BELL ICON FOR LATEST VIDEOS

#AndroidWorldClub #Recyclerview #Cardview

Music License:
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Рекомендации по теме
Комментарии
Автор

Anyone who got stuck in Gradle and faced with the error "Failed To Resolve" message while syncing...
Instead of
implementation
implementation
add these:
implementation
implementation
or you can easily go to Refacter > Migrate to AndroidX

alienufo
Автор

Wow, works perfectly. You've gotten a sub and a like. Will be sharing your videos in my circle. Thanks a ton!

amulyasaxena
Автор

thanks for made this video bro : ) and what i have mistakes about recycler view you have been covered in this video. Thanks a LOT

tejasgalande
Автор

I really liked the way you have done it. It works fine for me. Thank you :)

swapnilchhatre
Автор

Thank you so much for this video.. request for part 2 with item click..

mohsinkhan-cfms
Автор

thank you!
This video helped me complete my graduation project.

xshetdd
Автор

this is amazing, simple to follow and it works.

yomaru_
Автор

thanks bro, this is tutorial very helpful

ivanm
Автор

Nice I have been using the designer to create the cardview..

surflaweb
Автор

Explico el el complejo del proceso muy claro. Me funcionó, muchas gracias.

angelsanabria
Автор

Really nice work was stuck on the row xml file though
followed ur steps and the issue was resolved!! thanks alot

pranavkurkure
Автор

how to display rectangle image? in cardView Preview, i get rectangle, but after build I get circle image

kittytangsze
Автор

Thx you greatly for this video. I have one question). I try to automate adding this items with the help of forloop and resource files references
private ArrayList<Model> getMylist() {
ArrayList<Model> models = new ArrayList<>();
Model model = new Model();


model.setImg(fruitImages.getResourceId(0, -1));
models.add(model);

for (int i =1; i<fruitNames.length; i++){
model = new Model();


model.setImg(fruitImages.getResourceId(i, -1));
models.add(model);
}

return models;
}
But i must create first item with index 0 for this to work. Maybe there is a better way to avoid repeated code?

dasshrs
Автор

Very helpful! Can I ask how to remove the spaces in between the RecyclerView items? Thank you! Great tutorial.

jesusribeiro
Автор

Thank you. May i ask you please make a tutorial about Adding and Removing Items in RecyclerView.

alienufo
Автор

is there a way to make all the rows the same width? Great video!

wcchamp
Автор

How to set the text description to a clickable external link?

franzchristianmiguel
Автор

Thanks A lot, sorry my problem just from androidx libraries.

CUPAXXHD
Автор

i am geeting error in adapter.java in line of inflate(R.layout.row)

vipinsamaria
Автор

So did you just memorize how to make a recyclerView or do you have to refer to something in order to make it?

kingsleychristopher