I would like a little help from someone who has time

Good morning. Can someone help me? I want to include these dynamic components in a cardview so that the product image appears on the left, allowing it to be selected from the gallery or the camera. I created a temporary one, but it won’t let me add any images. And every time I press the + button, it distorts every time another product is added.*

Any ideas on what components to add and how to make sure everything, including the image, is in CarView? And that pressing the +9 doesn’t deform the product below it.

Here I leave an example that the more products I add, the more the add product menu becomes distorted.

That + symbol is coming from fab only know? So if you click it one every time it create the dynamic components

Have you added any other blicks to read the images? Show it

**I’ve added those extra components to accommodate everything inside the carview. But I haven’t added anything to the blocks to select the image.


**

I want all the components, including an image, to be positioned in an orderly manner within a cardview, and for everything to be repeated, aligned, and arranged within. And each time I click +, another one is added.

was the above block didnt create the image block?

I wouldn’t know which block to put together! I’m lost at that point. I don’t even know which block to place, what properties to give it, and where to place it. I also can’t put all of these in a carview, and when I press +, it adds another one without deforming.

deforming mean? want to add image? image from? i think i mis understand you

Look, the system is the one you saw in the image. When you press the + button, it should: choose an image from the gallery or camera and position itself on the left. On the right, it should have a title, price, and stock. It should also have a button to save changes, an edit button, and another to delete said product. All of this by pressing only the + key. All of this should be within a cardview or something that frames it. So that it looks neat, and when you press the + button again, it will place a new card with all this data and functions. Good. I’m attaching the photo so you can see that if I press the + sign, some options overlap each other and they don’t separate neatly.

In that example, when I press the + button for the second time, the buttons for the second product begin to distort.

com.google.appinventor.components.runtime.CardView

CardView is not acceptable one, use MakeroidCardView or drag one cardview and add

I don’t know how to use it in my app

Now?

1 Like

I’m dizzy, sorry, I don’t know where to go next. It says “error”

com.google.appinventor.components.runtime.CardView

I’ll leave you the AIA to see if you can clear up my doubt.
Admin_app.aia (2.0 MB)

Have you seen my image? I said do not use Cardview text in the component creation pricedure there is no Component with such name in kodular. Either change the name to MakreroidCardView or use one native cardview component

I had already changed it beforehand. The only thing missing is the image. To fix that block, I had to deactivate two blocks. I’ll leave you two photos. Now everything is working fine, but when I try to select an image from the gallery, it says this.

" Couldn’t invoke: Attempt to invoke virtual method ‘java.lang.Class java.lang.reflect.Method.getParameterTypes()’ on a null object reference
"

and above all it doesn’t show me the 3 buttons, nor the text inside them. You can see it in the image


I will let you know soon the error. Pls wait

1 Like

Okay, thanks. Remind me via message where to donate to the cause. I’ve already asked you in previous posts.

If it helps, disabling some property blocks shows this
I think the error has to do with one of the property blocks. Now I’m trying to find out why the buttons don’t appear or they appear without text inside or they don’t appear at all.