You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Adam Feng (JIRA)" <ji...@apache.org> on 2018/04/05 05:43:00 UTC
[jira] [Resolved] (WEEX-98) addEvent will lead to view load again,
especially the view just re-used for memory usage
[ https://issues.apache.org/jira/browse/WEEX-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Feng resolved WEEX-98.
---------------------------
Resolution: Fixed
> addEvent will lead to view load again, especially the view just re-used for memory usage
> ----------------------------------------------------------------------------------------
>
> Key: WEEX-98
> URL: https://issues.apache.org/jira/browse/WEEX-98
> Project: Weex
> Issue Type: Bug
> Components: iOS
> Reporter: xingZhang
> Assignee: Adam Feng
> Priority: Major
>
> In most case , element in cell will be re-use for memory especially in very long list, but if I call addEvent for this element, here will generate a new view for this element.
> For instance, image element in cell will re-use if it is disappear in vision area, and loaded again while it back to visual area. In this case , when it disappear, just add event such as click, touch and so on , it will then generate a new view ,and load image again, although it is off-screen.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)