You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/01 13:08:00 UTC

[jira] [Commented] (WEEX-270) WXListComponent should add reload type of data update

    [ https://issues.apache.org/jira/browse/WEEX-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16421650#comment-16421650 ] 

ASF GitHub Bot commented on WEEX-270:
-------------------------------------

Github user acton393 commented on the issue:

    https://github.com/apache/incubator-weex/pull/1095
  
    thank you for your contribution that bring improvement for Weex


> WXListComponent should add reload type of data update
> -----------------------------------------------------
>
>                 Key: WEEX-270
>                 URL: https://issues.apache.org/jira/browse/WEEX-270
>             Project: Weex
>          Issue Type: New Feature
>          Components: iOS
>    Affects Versions: 0.18
>         Environment: iOS 8.0+
>            Reporter: mengjianjun
>            Assignee: Adam Feng
>            Priority: Major
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Currently WXListComponent data update only supports insertRows. This can't be satisfied under some drop-down loading scenes. For example, the pulldown load needs to be positioned to the original position. When the tableView is still decaling and inserts and tries to fix the position, the cell will blink. Because when deceiring, the externally modified contentOffset will be re-edited by the internal implementation of tableView, altering contentOffset alternately will cause flicker problems. If you use the tableView reloadData this is not a problem, so you need to support the WXListComponent in the drop-down restore location scene to add the reload attribute.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)