Android Custom RecyclerView Adapter example. Android Kotlin Tutorial. #3.4

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

Android kotlin tutorial. Step by step, implement the subclass of RecyclerView Adapter. Also, override its methods such as onBindViewHolder, onCreateViewHolder, getItemCount. Along with this, create an inner class of ViewHolder which represents each row of items in the List.

.
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 ----
Рекомендации по теме
Комментарии
Автор

It is true that the explanation in this video is not clear enough for the viewer to fully understand what it is being done. A better briefing of creating the recyclerview in the android studio can be found in another android tutorial series provided by Smartherd. A better understanding of what it is being done in this video can be obtained after watching the videos in the links below, although it is performed in the java.


#206 Android RECYCLER VIEW Introduction and Overview : Material Design



#207 Android RECYCLER VIEW Implementation with RecyclerAdapter : Material Design - Part - 2



#208 Android RECYCLER VIEW Implementation with RecyclerAdapter : Material Design - Part - 3

zeroolam
Автор

Sometimes it is difficult to understand not because the concept is explained poorly, but because the concept is difficult. As an amateur programmer with no Java background, I don't know what I was doing with RecyclerView at first. But after a lot of videos and examples, it all starts to make sense now.

waichee
Автор

Sir, I didn't understand anything in this video, honestly. I just went on copying the code.If I am to make one I have no clue how things are done.

aravinda
Автор

in the adapter file what is passed as itemView? Not understanding how the txvTitle can be accessed here because I can't see we have included list_item.xml anywhere.

arkytiao
Автор

Now I've to drop this series and look for another series, Didn't understand anything in this video

RahulPawar-oknc
Автор

everything was " perfect " in all previous tutorials but this one! why you keep typing stuff without explaining what you're doing! i'm lost

hhbadarin
Автор

hello i also made the sample of list type of activity and in my adapter when i used textview with itemView in setData() method it gives me error, that unresolve refrence : textview . I followed same above code explained in video. Is their any solution .

mohitkaranjawala
Автор

Guess I'm not the only one having trouble with this. I kinda understand what you're doing, but there seems no way I remember all these details. Would it be ok to keep this code and basically copy/paste when I need similar end result ?

turboromy
Автор

Thanks bro, your plural sight videos are awesome, that helps me to understand well and got a job, many thanks bro.:)

sechidambaram
Автор

Smartherd thanks for making out time to teach, but honest review, it's getting too hard to understand, i'm new to android, just finished basics of kotin, and when you said a the start this playlist is for beginners, i was excited i'll fit right in, but i've had to continuously google search on various concepts just to get a hint of what is being taught, this adapter view might have just been the final nail😥, what is layout inflater?, recyclerview.adapter?, etc, infact i'm just copying code at this point and not getting any knowledge

faraday
Автор

thank you, , but my txvtitle id not import, i tried even manuelly it refused, help me please

joenieakilimali
Автор

Nice tutorial sir .... Great video . This video is really helpful for me to learn kotlin . Their Syntex .

akashkumardas
Автор

Hi, this playlist about android development boosted a lot my learning curve with android. All the videos are great, because you explained everytime what you were doing, until this video. This is the first video of the playlist where i did not understand what you were doing and why you were doing this. Very poorly explaination

developerios
Автор

In most of the videos, people have used val. Is it good practice to use val instead of var in adapters? Because in most of the cases the items needs to be added and removed. please clear my doubt

sachinmaharjan
Автор

inner class MyViewHolder(itemView: View) :


fun setData(hobby:Hobby?, position: Int){
itemView.txvTitle.text= hobby!!.title
}
}

for me it is showing error in txvTitle, for that i have to initialize that but i'm not getting how to solve, pls help

kumarsanoo
Автор

Section-3 seems to have been rushed up. Couldn't understand anything. If I have to write my own code to create something new, I might not be able to write a single line for a recyclerView application.

AshishKumar-yqcx
Автор

Here we don't need to pass context under constructor it may cause memory leak. We can get the context from viewholder.

anandjha
Автор

4:58, , attach to the root or not?? what is that

anandhu
Автор

To learn from one video i have to watch all of them.Try and make each video individual.Not referring to the previous video🤦‍♀️🤷‍♀️

eddyndumia
Автор

Which language is good to make an Android app Java or Kotlin.
Because Java is in my college cariculam.
And how much knowledge of Java is required for learning Android development.

TechnicalWaves