Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[WEEX-270][iOS]WXListComponent should add reload type of data update #1095
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 decelerating and inserts and tries to fix the position, the cell will blink. Because when decelerating, 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.
First of all, thank you for your contribution!
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
if isBugFix :
elif isNewFeature :