# \[Solved\] How to restore a list? (not listviewer)

**URL:** <https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120>\
**Category:** Questions about Thunkable X\
**Tags:** solved, list\
**Created:** [August 13, 2020, 7:42am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120 "2020-08-13T07:42:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ceresi](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@Ceresi](https://community.thunkable.com/u/Ceresi)\
**Post date:** [August 13, 2020, 7:42am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/1 "2020-08-13T07:42:08Z")

</div>

Can anyone tell me how, after removing items from a list, I restore the list to its initial state with all items present?  
I have 21 items in my list but will only ever pick and remove 20 of them. I want to reset/refresh the list back to original state when there remains only one item in the list.  
Cheers to all.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 13, 2020, 8:30am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/2 "2020-08-13T08:30:34Z")

</div>

Have a variable to store the original list and whenever you want to restore it just assign this variable to the listview.items property.

This should do the trick.

---

<div class="post-metadata">

**Author:** ![Ceresi](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@Ceresi](https://community.thunkable.com/u/Ceresi)\
**Post date:** [August 13, 2020, 8:50am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/3 "2020-08-13T08:50:31Z")

</div>

Thanks, but I am not using a listviewer component. It’s just a list of strings/text.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 13, 2020, 8:55am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/4 "2020-08-13T08:55:42Z")

</div>

The same applies. You will have two different lists having the same list of items. Your App will work on one of them but the other list is kept intact. When you want to restore items in the list that you worked with just copy the complete list over to it.

Hope this is clear. 🙂

---

<div class="post-metadata">

**Author:** ![Ceresi](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@Ceresi](https://community.thunkable.com/u/Ceresi)\
**Post date:** [August 13, 2020, 11:17am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/5 "2020-08-13T11:17:26Z")

</div>

How do I query the list to determine when there is just one item left (ie 20 items removed and 1 remaining)?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 13, 2020, 12:15pm UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/6 "2020-08-13T12:15:54Z")

</div>

Use length of from the list drawer.

![assets_-LAn5scXl2uqUJUOqkJo_-LAn5wecEraNWaG7Ig2g_-LAn67CR30LSLOEEB7BJ_blocks-lists-✕-fig-4](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/36a846e66096eab0e60ac29481e5b42d719ce5f8.png)

---

<div class="post-metadata">

**Author:** ![penny](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@penny](https://community.thunkable.com/u/penny)\
**Post date:** [August 29, 2020, 2:09am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/7 "2020-08-29T02:09:17Z")

</div>

This worked for me.  
🙂

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 29, 2020, 2:29am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/8 "2020-08-29T02:29:44Z")

</div>

Please mark it as solved. Many thanks

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [September 22, 2020, 10:14am UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/9 "2020-09-22T10:14:22Z")

</div>

A post was merged into an existing topic: [Smart Audio Shuffle](https://community.thunkable.com/t/smart-audio-shuffle/771047/12)

---

<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, 12:23pm UTC](https://community.thunkable.com/t/solved-how-to-restore-a-list-not-listviewer/738120/10 "2024-11-08T12:23:50Z")

</div>


