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.
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.
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.
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.
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
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.