# List viewer is resetting after changing screens and coming back

**URL:** <https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273>\
**Category:** Questions about Thunkable X\
**Tags:** list-viewer\
**Created:** [July 17, 2021, 10:13pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273 "2021-07-17T22:13:57Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [July 17, 2021, 10:13pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/1 "2021-07-17T22:13:58Z")

</div>

Basically I create a random list from a Firebase DB and then navigate to another screen, when I come back to the screen with the list it doesn’t preserve what was in the list.

Is there a way to preserve lists from a random bit of data from Firebase?

Thanks again

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [July 17, 2021, 10:26pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/2 "2021-07-17T22:26:37Z")

</div>

List Viewer is a simple component that is linked, as its name says, to a list, and not to a data source as is List Viewer Data.  
Theres many factors that can change your ListViewer… Maybe list that is linked to changes while you navigate to another screen. Theres too few infos provided to get a straight answer.

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [July 17, 2021, 10:27pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/3 "2021-07-17T22:27:41Z")

</div>

When the page restarts it’s probably making a new random list? So store it as a variable the first time and check if it exists, don’t remake it on future visits.

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [July 17, 2021, 10:29pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/4 "2021-07-17T22:29:02Z")

</div>

as i said, were just guessing here because lack of infos 🤭

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [July 17, 2021, 11:18pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/5 "2021-07-17T23:18:09Z")

</div>

Yes it is remaking it, but if I disable the blocks that recreate a new list, the entire list is blank instead of it making a new list. I  
t’s like the list has been set to not visible, but it is in face still set to be visible.

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [July 17, 2021, 11:21pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/6 "2021-07-17T23:21:24Z")

</div>

So you need to create the list when the screen starts if it is an empty and not if it isn’t an empty list

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [July 17, 2021, 11:21pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/7 "2021-07-17T23:21:59Z")

</div>

Right, when I try that it still creates a new one.

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [July 17, 2021, 11:22pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/8 "2021-07-17T23:22:59Z")

</div>

Post your blocks.

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [July 17, 2021, 11:23pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/9 "2021-07-17T23:23:53Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/437aadfaaac1ffdda2963bcfc45c7d0b60d32189.png)

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [July 17, 2021, 11:24pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/10 "2021-07-17T23:24:54Z")

</div>

Sorry this image is incorrect, I was messing around with it. It was supposed to be =

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [July 17, 2021, 11:29pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/11 "2021-07-17T23:29:52Z")

</div>

When I go back into the screen, the list is just purely blank. I don’t have anything else telling the list to not be visible or anything either.

Here’s the correct blocks too

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d1bb63002a127b8707191138acc58f6912a4d024.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [July 17, 2021, 11:46pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/12 "2021-07-17T23:46:36Z")

</div>

Providing a screenshot with a mystery function (“modify”) is not going to help anyone figure out how to help you. We actually need to see the blocks that are populating the List Viewer with data.

---

<div class="post-metadata">

**Author:** ![Tommaso](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@Tommaso](https://community.thunkable.com/u/Tommaso)\
**Post date:** [July 18, 2021, 8:20am UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/13 "2021-07-18T08:20:07Z")

</div>

How many items do you have in that list? I noticed the same issue if several items are shown (let’s say 1000). Is this the case also for you?

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [July 18, 2021, 2:26pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/14 "2021-07-18T14:26:04Z")

</div>

No it’s less than a dozen

---

<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, 1:19pm UTC](https://community.thunkable.com/t/list-viewer-is-resetting-after-changing-screens-and-coming-back/1401273/15 "2024-11-08T13:19:40Z")

</div>


