You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/11/15 08:43:11 UTC

[GitHub] Yhspehy opened a new issue #1766: header or sticky in cell and recycle-list is useless

Yhspehy opened a new issue #1766:  header or sticky in cell and recycle-list is useless
URL: https://github.com/apache/incubator-weex/issues/1766
 
 
   <!--
   Thanks for using Weex. Please follow the [Bug Report Guidelines](http://weex-project.io/bug-report-guidelines.html) to file issues. A good bug report should include the following information:
   -->
   
   <!--
   感谢使用 Weex。请遵照 [Bug 报告指南](http://weex-project.io/cn/bug-report-guidelines.html) 创建 issue,希望你可以提供如下信息:
   -->
   
   ## Description
   
   <!-- The brief description of the potential bug. -->
   First of all, i have some date like:
   ```js
   data = [
       {
           header: 'need to be rendered as a header',
           list: ['a', 'b', 'c']
       },
       .......
   ]
   ```
   
   If i apply it in scroller, it's ok. However the performance is not really perfect especially the data is huge. So i decide to use list or recycle-list. But when i use it in list or recycle-list , it is useless. But in web , it's ok.
   
   Of course, if i use header under the list instead of cell, i works. But i need to write it one by one and i need to know the length of data, it is really ugly.
   
   So i'm really looking forward to using header in cell or recycle-list.
   
   ## Environment
   
   <!-- The environment to reproduce this bug, such as **Weex Version** and **Device Mode**. -->
   <!-- You can get the environment of your device by [this example](http://dotwe.org/vue/1dea64f527db3fd109c0fb682d41c14f). -->
   
   iOS, iPhonesXs(12.1)
   
   ## Broken Example
   
   <!-- Please offer an example on the [online editor of Weex](http://dotwe.org/) to reproduce this bug. -->
   
   [list example](http://dotwe.org/vue/bbde28cf42af89c4d4a2a15cdccdd6dc)
   [recycle-list example](http://dotwe.org/vue/79af911f456beaf63cbad0dce6cf8011)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services