How to Click on a Recycler List View

I created a list for my movie application using Recycler List View. Normally, I was using dynamicComponents, and clicking on a movie required the movie details page to open.But it’s not opening. I click, but nothing happens. Why?




The Extension I’m using

Hi dear,

Well, it’s very simple, replace the isDynamic from Dynamic Components with the one from RecyclerList.
Of course, to get the component ID, you also need to replace the GetId block

1 Like

I did as you said. When I clicked on the movie, the details page opened, but the images, movie title, and movie description didn’t load. Why?

:grin:

1 Like

1 Like

I’m sorry, I forgot to do what you said, I did it now but I got an error.
Runtime Error No error message
Note: You will not see another error reported for 5 seconds

I followed your instructions, but I’m still getting the same error.

remove all blocks from then, use this and see the result.
blocks(5)

Nope. you are not following the way. see in the OnCreateView you have used kart but in the GetUniqueId you are using kart_ so obviously no surprise to get such error

I already did that, but it still didn’t work. I keep getting the same error.

In RecyclerList it’s also important to set the uniqueId in OnBindView

In such case upload your sample aia here to resolve your error.

I also tried the blog above. The details page opened, but the text inside, such as the image, movie title, description, and category, did not load.
Also, the movie doesn’t load when you press the “Watch” button; the same applies to the trailer.
Please help, this is my AIA file.

MoviePro.aia.zip removed by RaYzZz

Be careful, while I was testing the AIA, I noticed that you left your Firebase URL without any security rules

Anyway, you just need to add “film” to the search key

1 Like

It didn’t get fixed. Only the first 9 films were fixed, the rest weren’t. Why?
@RaYzZz

What do you mean by that?
What error are you getting exactly?

I normally have 52 movies in the app, but only 9 of them show their detail pages. The detail pages for the remaining movies open, but…Text such as Image, Film Title, Description, Category, and Date is not visible.
Here’s the APK for you to try.
MoviePro (5).apk (8.1 MB)

I hadn’t deleted your project yet and I noticed that you have different keys like filma1, filmb1.

You’re setting the uniqueId with "kart" + position, getting values like kart1, kart2.
Then, when a CardView is clicked, you remove "kart" from the uniqueId, ending up with 1, 2, 3, and then you add the prefix "film", getting film1, film2.

When you reach the tenth item, which is filma10,


a uniqueId kart10 is set, and when you click the CardView you generate film10, which of course doesn’t exist.

Below is your project,
I modified the creation of the CardViews by assigning them IDs based not on the position, but on the dictionary key.


MoviePro.aia (974.8 KB)

Thank you very much, you really helped me a lot. Thank you so much.