flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: Flex mobile: prevent re-creating view when doing navigator.popView()
Date Thu, 25 Aug 2016 19:20:23 GMT
Hi Clint,


thanks for that tip.


That sounds as if the view would remain in memory, even if it is "popped" from the stack.
I would not be expecting that.


But I'll give that a try.


Chris

________________________________
Von: Clint M <cmodien@gmail.com>
Gesendet: Donnerstag, 25. August 2016 15:44:12
An: users@flex.apache.org
Betreff: Re: Flex mobile: prevent re-creating view when doing navigator.popView()

er… i guess destructionPolicy="never"

On Thu, Aug 25, 2016 at 6:42 AM, Clint M <cmodien@gmail.com> wrote:

> destructionPolicy=”none”
>
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/
> components/View.html#destructionPolicy
>
> On Thu, Aug 25, 2016 at 6:03 AM, Christofer Dutz <
> christofer.dutz@c-ware.de> wrote:
>
>> Hi,
>>
>>
>> I am working on a little mobile application. Currently I have one view
>> which is sort of like a shedule-view (Couldn't get the flexlib one to
>> work). Layouting takes some time so I would like to reduce the number of
>> times this is done. Currently if I open die view, it layouts for about 2
>> seconds and all is good then. Now if I select an entry and open the details
>> view and come back using navigator.popView() the layouting is done again.
>>
>>
>> Is there a way to prevent this? I always thought the views are like a
>> stack and as soon as you pop something from the top, the last one below is
>> shown. Not only would the speed up the user experience, but also the user
>> would be in the same position he was when opening the detail view.
>>
>>
>> Chris
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message