Android Kotlin Tutorial: Link RecyclerView with Custom RecyclerView.Adapter #3.5

preview_player
Показать описание

Implement LinearLayoutManager of RecyclerView and Implement the onClick events on the list items. At the end, link the RecyclerView with Custom adapter and also assign the Layout manager to it such as Grid Layout Manager, Staggered Grid Layout and Linear Layout Manager.

.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

Thank you so much sir, your style of teaching is easy to understand, i was using guesswork before but now everything makes sense

kaitaviolin
Автор

This is great! Exactly what I was looking for. Big thanks! :)

magmony
Автор

you can make a tutorial Highlight selected item

venno-rd
Автор

Hello. I'm doing all the things as you show, but when t comes to video, in HobbiesAcitivity, after both recyclerViews "layoutManager" and "adapter" is showing "unresolved reference". what should I do?

shahrullohonlutfillohonov
Автор

All i am doing is googling right now just to understand how this code is actually working.. what you are doing is reading your code and not explaining anything at all

ai
Автор

hello sir, I am following all this but when this video comes, in HobbiesActivity.kt, after both recyclerViews "layoutManager" and "adapter" is showing unresolved reference .
Now what should I do? Please reply this

aniketgupta
Автор

Was it really necessary to use init block?

rahulh
Автор

what is the purpose of defining the property of position? it is never used in the code. Is it possible to remove the property of position? thanks!!

zeroolam
Автор

I have been searching for a long time and no luck. please help.
i want to delete a record from my sqlite database when to user touches a specific view in the recyclerview.
how can i build the onclicklistener for the recyclerview that deletes a record from my sqlite

mehranbehbahani
Автор

Sir i am getting first item only from list what to do

rohanthakran
Автор

For those who get crash with Error: cannot find path on new version of library androidx use:


tag when setting up the list_item.xml

arkytiao
Автор

thank you very very very much
you are amazing

SeraphimTech_io
Автор

Everything is okay but you did not show item(hobby) in grid layout.
I'm unable to do it.
Please Help

abdulhamidrpn
Автор

How to pass Hobby value to another activity?

guduguminchu
Автор

I am working with the androidx library vs the version 7. Can you show how to create the recycler view with androidx? The layoutManager does not work correctly after upgrading.

xclovenx
Автор

Caused by: recycleView must not be null
at

biswajitbera
Автор

Couldn't see any list. it's just showing blank

samiranshil
Автор

Hello, sir txvTitle can not access it's showing some error ): unresolved reference "txvTitle"

সময়েরপথিক
Автор

Please not divide the video on different parts make it continues

pritpatel
Автор

This is much confusing ... Hard to get it ..

priyankamanna
welcome to shbcf.ru