CardView in RecyclerView Android Studio Kotlin Tutorial

  Рет қаралды 21,622

Code With Cal

Code With Cal

Күн бұрын

Пікірлер: 41
@lukeunderhill3907
@lukeunderhill3907 Жыл бұрын
I just have to say this tutorial was really helpful. Obviously I had to adapt it to my own context and pause and rewind the video a tonne, but after a few days of wrestling with it I have got something I'm now happy with thank you!
@myimac8257
@myimac8257 8 ай бұрын
Hey Cal great tutorial. Thank you! I was wondering if you could help me out. How would I allow the user to pick an image from their phone's gallery into the card view (I've done this already) but I want to be able to save these images and re-load them when the app re-starts. I can't find that info anywhere. I tried SharedPreferences it works for text but I haven't been successful with images. (btw I only have a max. of 6 images in my app) Your help would be greatly appreciated. Thx so much!
@Michael-x2e
@Michael-x2e 5 ай бұрын
Thank you, this tutorial was very helpful
@mysgrown
@mysgrown 3 жыл бұрын
Thank you Cal Sir . This video is very helpful for us.
@Armadeus
@Armadeus 11 ай бұрын
sorry if i'm missing something, but where was the cardCellBinding written? couldn't find it, even though it's required around 5:21.
@defencemanufacturingindia7825
@defencemanufacturingindia7825 2 жыл бұрын
Ever thankful.
@CodeWithCal
@CodeWithCal 2 жыл бұрын
You are most welcome 😉
@seanrileyhawkins4511
@seanrileyhawkins4511 Жыл бұрын
Thanks for the video helped me solve something quickly. I still need to work on the recycler view from loading new cards everytime. This causes some duplication on the recycler view.
@clintb92
@clintb92 Жыл бұрын
Is there a way to change the string colors based on what is read? For example if you had 2 of the same authors in the list, can you code the recycler to change the text color to blue?
@matheusdelnero135
@matheusdelnero135 Жыл бұрын
Nice video bro! helped me a lot
@julianyagoro3531
@julianyagoro3531 Жыл бұрын
Very helpful!
@DarokCx
@DarokCx 2 жыл бұрын
Good job ! A little too fast-paced for me, though, even at .75 speed XD
@loleria6
@loleria6 Жыл бұрын
tell me which property is responsible for the number of columns
@Lucdre
@Lucdre 3 жыл бұрын
Hello, thanks for the video :) Do you know why / how to prevent the cards from duplicating when pressing back and reopening the app? (or also while changing from dark to light mode while the app is open). Fixed it for now clearing the list (that we populate in onCreate) in onBackPressed but it doesn't seem like the best idea to empty and re-populate the list, or am I wrong?
@CodeWithCal
@CodeWithCal 3 жыл бұрын
I would do something like this. Declare a class variable boolean in the Main activity var firstload = true. then wrap the populateBooks function in something like this if(firstload) { populateBooks() firstload = false }
@defencemanufacturingindia7825
@defencemanufacturingindia7825 2 жыл бұрын
I plan to use the code..in an app...tips and suggestions on what we should take care of will be useful... also I am trying to include a searchview...any tips on this/?
@defencemanufacturingindia7825
@defencemanufacturingindia7825 2 жыл бұрын
If you have a forum(blog) page - or here, we can initiate a discussion so that more can participate..
@burakcanduzcan
@burakcanduzcan 2 жыл бұрын
superb video!
@trukazz
@trukazz Жыл бұрын
hello thanks for the video, how can we fetch the data from MySQL db
@heijun149
@heijun149 2 жыл бұрын
Hello, thanks for the video and I have try it, but first time I do it with your tab view tutorial first and success and then i try to combine this recycler view with tab bar view but unfortunately after combining,i found that my page for listing all the book cannot slide down for viewing more book. Did i have any solution for that?
@CodeWithCal
@CodeWithCal 2 жыл бұрын
Ahh what you are trying to do sounds possible, I wont debug your code. keep trying. :)
@nishilraiyarela5141
@nishilraiyarela5141 2 жыл бұрын
can you show us how to get data from API in this CardView in RecyclerView
@billal2731
@billal2731 2 жыл бұрын
you can use gson and picasso for the images
@miguelmoral4760
@miguelmoral4760 3 жыл бұрын
Thanks! 🤠
@CodeWithCal
@CodeWithCal 3 жыл бұрын
😊
@yerkolopez8142
@yerkolopez8142 3 жыл бұрын
Hello, the video helped me a lot, I have a question in case I have a lot of text, the part of the description, how do I scroll down and keep reading, because it won't let me slide down
@CodeWithCal
@CodeWithCal 3 жыл бұрын
Hi you want to nest the detail view in a scroll view
@yerkolopez8142
@yerkolopez8142 3 жыл бұрын
@@CodeWithCal Yes, since I want to put more text to the description part
@mrtruthvirtue8752
@mrtruthvirtue8752 3 жыл бұрын
Shall we code with Cal , c'monn!
@LaboratoriodeInteractividad
@LaboratoriodeInteractividad 2 жыл бұрын
Hi, I have a little issue, every time a click on a book it send the same ID for all, any clue what can be going wrong
@CodeWithCal
@CodeWithCal 2 жыл бұрын
Something wrong with the intent put extra or the reading of said extra
@LaboratoriodeInteractividad
@LaboratoriodeInteractividad 2 жыл бұрын
@@CodeWithCal well It Is weird cos' once i re-ordered the way the list Is filled allá came ordered and go well, thanks for answer
@astridguerreron2931
@astridguerreron2931 3 жыл бұрын
Hello Cal! Your video's helping me so much. I'm trying to do the same example with some contacts but a strange reason it doesn't show me the information from the First Activity to Second Activity that I have in my contacts list :'(
@CodeWithCal
@CodeWithCal 3 жыл бұрын
Thanks 😊 In this example we pass the objectid via an intent put extra. Is there a bug in your code related to that?
@astridguerreron2931
@astridguerreron2931 3 жыл бұрын
@@CodeWithCal Helloooo!!! I never knew what my app didn't work, but finally I could resolve that bit problem implementing Parcels. That's strange but it works. Thanks so much. I continue watching your videos ;) Happy Halloween!
@CodeWithCal
@CodeWithCal 3 жыл бұрын
Happy Halloween 🎃
@hanaanaulia250
@hanaanaulia250 2 жыл бұрын
actuallly its to good, but maybe next time u need to explain a video without urge to pee 😂 its too fukeeng fast broo 🙃
@CodeWithCal
@CodeWithCal 2 жыл бұрын
Haha personally I not a fan of unnecessarily long tutorials, but its true i do go to fast at times
@azizrimi2978
@azizrimi2978 11 ай бұрын
Why recycleview have to be so complicated ? Python is much simpler.
@kyankey150
@kyankey150 2 жыл бұрын
Thanks for video but you are so fast
@CodeWithCal
@CodeWithCal 2 жыл бұрын
😋
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 141 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 97 МЛН
兔子姐姐最终逃走了吗?#小丑#兔子警官#家庭
00:58
小蚂蚁和小宇宙
Рет қаралды 13 МЛН
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 38 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 54 МЛН
Tic Tac Toe Android Studio Kotlin Tutorial | Noughts & Crosses
9:47
RecyclerView in Android Studio [Kotlin 2020]
15:49
CodeWithMazn
Рет қаралды 58 М.
RecyclerView in Android Studio using Kotlin | Android Knowledge
12:11
Android Knowledge
Рет қаралды 18 М.
Room Database Android Studio Kotlin Example Tutorial
14:12
Code With Cal
Рет қаралды 21 М.
Recycler View Example Android Studio Tutorial
12:11
Code With Cal
Рет қаралды 1,7 М.
Web API Android Studio Kotlin Tutorial | REST
10:23
Code With Cal
Рет қаралды 20 М.
Android Layouts - Mastering Android with Kotlin #6
9:02
Master Coding
Рет қаралды 3,2 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 97 МЛН