About List View Image and Text
Hi guys
this component is very complicated, thanks to friends “Anhar_Fahrudin” and “Holmsync” who helped me solve a small permanent deletion problem, but now another one arises! How to maintain changes on a component ITEM?
Something is obviously missing from the blocks you see
Hello My friend, actually I should move the “UPDATE” command to a different button from long click, the blocks I posted are the ones I need to do UPDATE and save ITEM but I always run into various errors and honestly I don’t know how to proceed, I would like to apologize to everyone if things I can’t get through without being able to ask for help
in the Update Item Block:
set the Position as index of selected item in the list using
this Block. [REMEBER TO SUBTRACT 1 FROM THE INDEX]
next image as updated image (if any changes), updated title & subtitle in the replace item list
setlist as the list books, index as the index in list block as shown above for position but without the -1 just that block and replacement as updated values of your list
I actually don’t know how u are updating your data (user inputs like textbox or internal data updates like no. of likes/ comments/ purchases)
and I also don’t know the structure of the list
anyways hope you understood what to do
That’s right, it is the location of the data where it is recorded on the List_View_Image and Text component.
The first data recorded was assigned “0”, the second “1” and so on the others…
Then do one thing instead of position use index in list block and set thing to the old list data on that number & list as the list global books
And for update item use lbl_position
That’s because you put the same thing for Both thing and replacement.
Thing should be old data
And replacement should be new data.
The new data does not even exist on the list
sorry why, if I have recorded a data and for whatever reason I have to update only a small element of the data why can’t I do that!!! The modification can provide on the Title than on the subtitle and also the image, I don’t understand why it is so difficult, on a normal Listview component the modifications of a data item is much easier, I wonder why a simple modification on the List view image and text component is so problematic! I will probably have to change components and give up the ListView image and text