# Lists in Thunkable Cross Platform

**URL:** <https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358>\
**Category:** Questions about Thunkable X\
**Created:** [September 28, 2018, 10:24pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358 "2018-09-28T22:24:28Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [September 28, 2018, 10:24pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/1 "2018-09-28T22:24:28Z")

</div>

Hi Guys  
In App Inventor for android I created a list picker. User entered the 4 fields of data, clicked save, user then was able to retrieve the list and scroll through and select the caravan park they had originally saved and the 4 fields would populate the original screen they entered the data in. Thunkable X does not have a list picker.  
Can someone help with trying to rethink how to do this.  
I need the app user to be able to save 3 fields of information.  
The first field (Suburb) being the search criteria to GET the info at later time.  
So SUBURB, NAME, ADDRESS to be saved to a list or in local storage but somehow indexed together as a group. User then types in a SUBURB or any part of the word and it finds it in a list or local storage and displays a list and allow the user to select from the list and it populates the suburb, name and address fields with the original info that the user saved.

I really need assistance if anyone can help. Last screen to complete the app for IOS and I need to give a demo to an interested party.

Anyone have and example blocks for Cross platform???

![2018-09-29%2008_15_44-Thunkable](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82c958d8222a1c36154eaf2a16e017b9df029951.jpeg)

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [October 4, 2018, 5:15pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/2 "2018-10-04T17:15:57Z")

</div>

I don’t have a full answer for you, but [here](https://x.thunkable.com/copy/184beae0ea5adb841d4fc5b35d3703c4) is a small project which shows how to use a List Viewer component as a list picker by putting it in a separate screen.

-Mark

---

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [October 4, 2018, 7:52pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/3 "2018-10-04T19:52:07Z")

</div>

Hi Mark  
Thanks for the blocks but I have already managed to do that. My problem is when one list item has 2 or more elements like Name and address, I need to get the Name back to one input or label and the Address to another input or label.  
Regards Barrie

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 4, 2018, 8:29pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/4 "2018-10-04T20:29:45Z")

</div>

I am having the same issue and still no answer 😕

[http://community.thunkable.com/t/problem-getting-a-single-element-from-a-list/49496/14](http://community.thunkable.com/t/problem-getting-a-single-element-from-a-list/49496/14)

---

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [October 4, 2018, 8:42pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/5 "2018-10-04T20:42:04Z")

</div>

Hi AcrobatEpee  
So easy to pick elements from one list item in AI2 App Inventor with list picker…I have put Marks blocks into my project and Marks were much cleaner and better than what I was doing. Thanks Mark. I will keep experimenting trying to get elements back as well. Please let me know if you succeed.

---

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [October 4, 2018, 8:44pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/6 "2018-10-04T20:44:14Z")

</div>

What about joining the multiple text fields, saving the joined fields as CSV and then getting them back and splitting them into different text fields or labels. No idea how you would do this but sounds feasible…

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 4, 2018, 8:53pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/7 "2018-10-04T20:53:50Z")

</div>

It’s nightime for me, I’ll get on this tomorrow and keep you updated. Please read your private messages 🙂

Nice day !

---

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [October 4, 2018, 10:12pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/8 "2018-10-04T22:12:05Z")

</div>

Thanks much appreciated

---

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [October 6, 2018, 1:47am UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/9 "2018-10-06T01:47:22Z")

</div>

![Screenshot_20181006-113630](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aa1787efec9430c4569a8f2e399e87d07d1cc73f.jpeg)  
AcrobatEpee is assisting me but any other help would be appreciated. Can someone create the blocks required to do the following.  
User inputs the 4 fields and maybe and image  
Click save to add it to a list  
List can contain multiple parks  
User wants to check what they said about a particular park so they go click on a button to take them to the the list  
User selects from the list the park  
Selecting takes them back to the input screen and populates the 4 fields and the image  
All fields a saved indefinitely unless they use the delete park button  
Delete park button deletes the park that is populated in the fields on the entry screen.  
Works great in App Inventor. Can’t get it working in thunk x

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 6, 2018, 11:02am UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/10 "2018-10-06T11:02:13Z")

</div>

I actually did this for you ☹

---

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [October 6, 2018, 8:43pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/11 "2018-10-06T20:43:50Z")

</div>

I couldn’t get yours to work. Mark Friedman put a block up which works but it is only for the first element in the list. I need to save a list item with multiple elements and bring back the multiple elements to display. Talk to you tonight maybe about working out what I did wrong…

---

<div class="post-metadata">

**Author:** ![towball](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/towball/32/68409_2.png) [@towball](https://community.thunkable.com/u/towball)\
**Post date:** [October 15, 2018, 9:03am UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/12 "2018-10-15T09:03:36Z")

</div>

Hi Mark  
Your blocks would not save to the list. the list showed first line “n”, 2nd line “u”, 3rd line “l”, 4th line “l” = null  
I have this working but not sure about how to save multiple items in a list and have them display next time the app is opened. Do you have any sample blocks to assist. Got stuck here on how to save and display next time app opens  
Acrobatepee has been very helpful but I need a sample to understand it

 ![listblocks](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/6/2644cf63ed272ca0760f4bb59c2ed070d48fe6c2.png)

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 15, 2018, 10:05am UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/13 "2018-10-15T10:05:57Z")

</div>

For people who are willing to help, here is a block you can inspire from :

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/0/8016d1ee84d954e38b4d7c7bf7b319167c1a39db.jpeg)

What is needed for Barries case :

Everytime the app opens he needs to collect the items one by one from the local storage they’ve been saved to

And then display them in the list (one by one on the go as well)

That said, @towball, I suggest you save your items under item1 ; item2 ; item3 ; etc. So they will be easier to collect (we’ll just change counter by 1 each time the loop is ran). `get in the screenshot`

You can do that both ways :

First way, you directly save your item under item1, etc.

Second way, you first save your item under the name you wish (here suburb - textsuburb park - textpark) and then save this join text as a value in your local storage under the key item1, item2, item3, etc.

Hope it helps ! 🙂

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [October 15, 2018, 5:21pm UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/14 "2018-10-15T17:21:16Z")

</div>

> [@towball](#):
>
> Your blocks would not save to the list. the list showed first line “n”, 2nd line “u”, 3rd line “l”, 4th line “l” = null

Yeah, something weird is happening with my ListPicking project. It worked for me when I originally created it. Sorry for the confusion.

-Mark

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:55am UTC](https://community.thunkable.com/t/lists-in-thunkable-cross-platform/49358/15 "2024-11-08T11:55:05Z")

</div>


