I want to make a history tab using a listview but i have a problem

So, I'm working on an app where you can search for items and i have a list view which is supposed to be my history tab so if you type what u want to search and you click the search button it sends what u typed to the history tab so when you click on the(history)
list view it shows you a list of the items you searched but instead of the items appearing vertically they appear horizontally
in a bracket. Screenshot 2021-08-22 111111 Screenshot 2021-08-22 111137

Welcome @Franko,

Please show us the similar event(s) related to this list view.


1 Like

Pass the list through a
JOIN with separator \n

1 Like

Thanks,but please can you show me the block for that


1 Like

I would have done that but I'm currently on an older version of app inventor and dont know how to upgrade :confused:

Update companion to latest version 2.61 or 2.61u

Also you have to scroll to the end, block should be below look up in pairs key block. This block has nothing to do with latest update.

Sorry, but I don't know how to do that :confused:

May I ask, are you using an offline version of App Inventor or ... ? Cause I believe you do not use

http://ai2.appinventor.mit.edu/ or http://code.appinventor.mit.edu/

Oh, I do use the offline version

Download aia and upload it to http://ai2.appinventor.mit.edu/

Here is a blocks procedure to do the same thing as that list block ...

join_test join_with_separator.aia (2.4 KB)

You could code a specific procedure copy for cases where you would like to use \n as the separator, and keep the leading separator that this version removes.

1 Like