I want to append data in the list view where user data will be stored and showed in the listview.
To change the ListView you need to update the List that populates the ListView.
Here is Sajal's List tutorial List Blocks On App Inventor | Imagnity
To store the data you need to save the List to a TinyDB if the data is only to be stored on the Android or you can use FirebaseDB, CloudDB, a spreadsheet used like a database or to save the data.
Hi everyone
i want user to enter some info then i want to add it to a listview and when the screen intialize put that infos the user enterd Before this time so how can i do it?
and delete options when the user select something from list how?
- you might save the original List with a name like originalList before you enter the additional information. If you want to compare the new information with the original information you will have to post both the old and new lists.
See how you delete in this example
https://imagnity.com/tutorials/app-inventor/list-blocks-on-app-inventor/
I didn't understood how to add items
My question is How cam the user add some info's like phone number, name and image
and save it in a Tiny DB and show it to a list view for ever to user and this page for delete option i can't open it
This is the code for get the info's and put it in a listview
and this is for adding items to list
Here's a sample app showing how a ListView is only for viewing, and not the primary storage area for your data:
Thank you so much but where is the refresh block?
t turns out that it's not needed, so it was retired.
Oh ok
Thank you so much but i want listview to show image how?
Where will you get those images from?
Thank you so much
but i want to select the logo and then see the info's how can i ?
Hi again everyone
this time im working on another app i want to write the company name and just put an image with it put when i upload images the list will be like this
and this is the code here
To begin with you need to get rid of the rounded brackets.
How are you setting your data values in the tinydb?
Androoid or ios? What Layout is set?
Andriod
And there is another problem when i save data it didn't show it in list for second time and i don't want to show list like this
don't write the text for example like this
(Text1 company name)
write like this
company name
The Elements block takes a list. The CreateElement block only creates an element, not a list of elements. You have to create a list of elements and then add it to Elements.