# Closing Screen Option

**URL:** <https://community.thunkable.com/t/closing-screen-option/20654>\
**Category:** Questions about Thunkable X\
**Tags:** bugs, android\
**Created:** [March 28, 2018, 9:16am UTC](https://community.thunkable.com/t/closing-screen-option/20654 "2018-03-28T09:16:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gilbaja](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gilbaja/32/17755_2.png) [@Gilbaja](https://community.thunkable.com/u/Gilbaja)\
**Post date:** [March 28, 2018, 9:16am UTC](https://community.thunkable.com/t/closing-screen-option/20654/1 "2018-03-28T09:16:37Z")

</div>

There is a problem with the android versions because when navigating between screens, none of them are closed, so when you press the back button you sequentially pass through all the previous stages, sometimes watching obsolete data.  
I think that including an option of closing screens is a must, or giving the option to close previous in the “Navigate to Screen” block.

---

<div class="post-metadata">

**Author:** ![Gilbaja](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gilbaja/32/17755_2.png) [@Gilbaja](https://community.thunkable.com/u/Gilbaja)\
**Post date:** [March 28, 2018, 3:33pm UTC](https://community.thunkable.com/t/closing-screen-option/20654/3 "2018-03-28T15:33:07Z")

</div>

I don’t think you’re talking about Thunkable X. I don’t see the “Close screen” block here.

---

<div class="post-metadata">

**Author:** ![Taifun](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/taifun/32/1547_2.png) [@Taifun](https://community.thunkable.com/u/Taifun)\
**Post date:** [March 28, 2018, 7:38pm UTC](https://community.thunkable.com/t/closing-screen-option/20654/4 "2018-03-28T19:38:21Z")

</div>

> [@Gilbaja](#):
>
> I don’t think you’re talking about Thunkable X. I don’t see the “Close screen” block here.

sorry, I now deleted my answer…  
Taifun

---

<div class="post-metadata">

**Author:** ![Zhou\_Sicong](https://avatars.discourse-cdn.com/v4/letter/z/df788c/32.png) [@Zhou\_Sicong](https://community.thunkable.com/u/Zhou_Sicong)\
**Post date:** [August 28, 2019, 8:53am UTC](https://community.thunkable.com/t/closing-screen-option/20654/5 "2019-08-28T08:53:40Z")

</div>

I think to date there is still no block for close screen or close app right?

---

<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:** [August 28, 2019, 9:16pm UTC](https://community.thunkable.com/t/closing-screen-option/20654/6 "2019-08-28T21:16:40Z")

</div>

That’s right, but at least you can now override the behavior of the Back button (with the `'when Screen.BackButtonPressed'` block) in order to avoid the problem that @Gilbaja was having.

-Mark

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [September 9, 2019, 11:10am UTC](https://community.thunkable.com/t/closing-screen-option/20654/7 "2019-09-09T11:10:13Z")

</div>

We definitely need this as not closing screens and just navigating through them makes the app extremely laggy after a short while, I assume because the app never really releases the resources needed to open the screens in first place.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [September 9, 2019, 11:14am UTC](https://community.thunkable.com/t/closing-screen-option/20654/8 "2019-09-09T11:14:45Z")

</div>

Are you also having this problem -  
**_"I have to click back and close every single screen to close my app…"_**

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [September 9, 2019, 12:19pm UTC](https://community.thunkable.com/t/closing-screen-option/20654/9 "2019-09-09T12:19:50Z")

</div>

This happens if you use both the Back button of your Android device **and** another back button you create in the application to i.e. take you to the previous screen. The Android button and the Thunkable button behave differently:

- The Android button **really** takes you to the previous screen hierarchically
- The software Thunkable button you may have created to navigate you to the screen you define (which in our case most probably is the previous screen) is doing exactly what you tell it to do but it does not follow a hierarchical notion.

So let’s say you navigate from Screen A to Screen B to Screen C to Screen B to Screen C (supposing you have the right buttons set up in each screen to move you between any of the screens. For as long as you use the Thunkable buttons, everything works as expected. But if you navigate to A \> B \> C \> B and at that point you push the Android Back button, it will actually reverse the order of screens opened so B \> C \> B \> A despite the fact that you would expect it to take you to Screen A since at that point you were on Screen B.

So yes, I am seeing the same and I am trying to build my application with that in mind.

K

---

<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:** [February 24, 2020, 1:39pm UTC](https://community.thunkable.com/t/closing-screen-option/20654/10 "2020-02-24T13:39:59Z")

</div>

A post was split to a new topic: [How to get map location with PIN](https://community.thunkable.com/t/how-to-get-map-location-with-pin/481805)

---

<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:40am UTC](https://community.thunkable.com/t/closing-screen-option/20654/11 "2024-11-08T11:40:49Z")

</div>


