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!
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!
for people who have the same question. I found that in your Gradle file you need to write both dataBinding=true and viewBinding=true. Took a long time to figure it out, so give it a try if you have the same problem :)
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.
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?
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?
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 }
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?
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/?
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
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 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!
Three years later it's still usefull. thank you!
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!
It Helped me a lot ! thanks !!
Thank you Cal Sir . This video is very helpful for us.
Thank you, this tutorial was very helpful
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!
sorry if i'm missing something, but where was the cardCellBinding written? couldn't find it, even though it's required around 5:21.
for people who have the same question. I found that in your Gradle file you need to write both dataBinding=true and viewBinding=true. Took a long time to figure it out, so give it a try if you have the same problem :)
Ever thankful.
You are most welcome 😉
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.
Nice video bro! helped me a lot
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?
Very helpful!
Good job ! A little too fast-paced for me, though, even at .75 speed XD
hello thanks for the video, how can we fetch the data from MySQL db
superb video!
can you show us how to get data from API in this CardView in RecyclerView
you can use gson and picasso for the images
tell me which property is responsible for the number of columns
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?
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
}
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?
Ahh what you are trying to do sounds possible, I wont debug your code. keep trying. :)
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/?
If you have a forum(blog) page - or here, we can initiate a discussion so that more can participate..
Thanks! 🤠
😊
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
Hi you want to nest the detail view in a scroll view
@@CodeWithCal
Yes, since I want to put more text to the description part
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
Something wrong with the intent put extra or the reading of said extra
@@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
Shall we code with Cal , c'monn!
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 :'(
Thanks 😊
In this example we pass the objectid via an intent put extra. Is there a bug in your code related to that?
@@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!
Happy Halloween 🎃
actuallly its to good, but maybe next time u need to explain a video without urge to pee 😂 its too fukeeng fast broo 🙃
Haha personally I not a fan of unnecessarily long tutorials, but its true i do go to fast at times
Why recycleview have to be so complicated ? Python is much simpler.
Thanks for video but you are so fast
😋