In this video we start building a RecyclerView, which contains CardViews with 1 ImageView and 2 TextViews each.
Watch the whole RecylerView playlist:
You can find the example code and dependencies here:
Want to use Kotlin instead? Watch the Kotlin version here:
____________________
❗ Subscribe to the channel:
🎓 Find more tutorials and courses on my website:
💻 Hire me for your next project:
📨 Subscribe to the Coding in Flow newsletter:
💚 Donate to Coding in Flow with a message:
❓ Ask your programming questions in our chat:
📣 Follow Coding in Flow on other sites:
Facebook:
Instagram:
Twitter:
Github:
⌨️ My gear and tools:
Microphone:
Mouse:
Keyboard:
Desk:
Monitor:
Webcam:
Screen recorder:
(above links are affiliate links, which means that I earn a small commission if you buy through them with NO additional costs to you.)
Tag: recyclerview, 2017, android, android apps, android apps programming, android development, android studio, android studio tutorial, android tutorial, apps programming, coding, java, learn to code, learn to program, software development, tutorial, recyclerview, recyclerview tutorial, recyclerview android, android recyclerview, android recyclerview tutorial, android recyclerview example, android recyclerview cardview, android cardview, android cardview tutorial, android cardview and recyclerview
Xem Thêm Bài Viết Về Công Nghệ Khác: https://meocongnghe.vn/cong-nghe
Nguồn: https://meocongnghe.vn
****
I added a link to the code of this example into the description box!
****
thanks man is rough out here 🙁
Thank your for your hard work…
The tutorial is amazingly fresh after years! Thank you Coding in flow!! 😀
For those struggling with the syncing of the dependencies:
Migrate to AndroidX
1. right click on the implementation
2. Refactor — then Migrate to AdroidX
3. Follow steps.
Done!
u r doing great kepp making videos
excellent work
<androidx.recyclerview.widget.RecyclerView instead of <android.support.v7.widget.RecyclerView
and import the corresponding library as well.
Also, it worked without
maven{
url "https://maven.google.com"
}
Why can't we use constraint layout?.It will be much easier through design
why we put http: maven.google.com ?
how to acces data from firebase databse for custum recycler vew.
Awesome, thanks sir
Thank you for teaching the process step by step, I learn a lot this way, you have a new subscriber!
For those who is not seeing the card margin.. you should put "4dp" margin outside of relative layout scope (in cardview scope) so now u will see the separate cards. It was really great explained and in depth <3
i literally get gray screen without anything on it, can someone explain why?
checked my code million of times, copied one from link but nothing works
I feel very relieved when I find your video related to some topic I'm looking for
Because unlike others, you don't waste my time and just give me the right amount of information that I need
hey sir i have a question please answer!
what method we called if we want to unclicked the any item again?
I have a bit of a problem understanding your accent. But other than that, your content and tutorials are OUTSTANDINGLY great and soooooooooooo helpful. God bless you.
I want to add items in my recycleview from another actiity , Hey Please Help basically i am using Recycle view to update coins history in my game , So basically there are 2-3 games all in seperate activity, So as soon as user wins or looses the coins are updated in coins history
Sounds like you are from Germany
updated dependencies for AndroidX:
https://developer.android.com/jetpack/androidx/releases/recyclerview
https://developer.android.com/jetpack/androidx/releases/cardview
in the ExampleItem class why don't you using tool generate code of android studio
for me the dependencies are in
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
} format please help me how to edit them
idk but your voice is just beautiful , its calming .__.
Hello Sir, I am wondering for the answer of below Question.
when does getItemCount() method get called in RecycleView adapter?
and why it called multiple times in fragment?
Please help me and if you are able toh make a video on this then please do that.
osmmmmmmmmmmm
bro i have learned most of the android components from you only ….thank u bro and keep making android videos… and one more thing create a new android playlist for 2020 android studio version…thanku so much bro.
Hey
When i try to implement the libraries then android studio always tells me to add the "//noinspection GradleCompatible" tag. is that right? and what is the meaning behind it?
Thanks 'Coding in Flow' for your nice video. Basically I was able to follow your instructions. However, I simply could not move the text item using the Layout editor. After draging and droping the elements on the layout they are automatically moved to the top left corner. Any idea what I am doing wrong?
For everyone who just begins programming, watch this playlist twice and you will understand it better than anywhere else.
I like how you teach to keep code clean from very first trials. Thanks a lot!
What is the use of maven URL?
U have made two different XML file one for recycler view and other for card view …then why card view will be shown inside recycler view.help as fast as u can
When I am passing example item in array list it's showing cannot resolve symbol 'example item'
Can you tell us how to store all list of items in strings.xml(string array) instead of putting them all in java? How do I get string array in string.xml to recyclerview?
maven { url 'https://maven.google.com' } what does this do ?
Omg the scrolling is so laggy and slow i need help please 😭😭😭😭🙏