问题描述
我有一个日历小部件,它是一个TableView旋转了-90度,设置了TableView数据后,我添加了一个View旋转了90度的TableViewRows,并将这些视图设置为新的高度和宽度.
I've a calendar widget, that is a TableView rotated -90 degrees, after set the TableView data, I add a View rotated 90 degrees the TableViewRows, and set to those Views the new height and width.
在'scrollend'事件上,如果达到TableView限制,则在TableView的末尾我将另外20行推到TableView数据的末尾,并在开始时将20行移到TableView数据的开头
On 'scrollend' event, if this reach the TableView limits, at the end of the TableView I push another 20 rows to the end of the TableView data, and at the beginning I unshift 20 rows to the beginning of the TableView data.
这在iOS上完美运行,但是在android上存在一个我无法理解的问题:所有屏幕可见的TableViewRows都很好(5),但是当我滚动到其他TableViewRows时,它的子项被隐藏,直到'在TableView上单击"事件.
This works perfectly on iOS, but on android there is a issue that I can't understand why: all the screen visible TableViewRows are fine (5), but when I scroll to the other TableViewRows it's children are hidden until a 'click' event on the TableView.
测试项目: test.cal.zip
JIRA票证: https://jira.appcelerator.org/browse/AC-631
- TableView的开始(有20行):
- 滚动一点以查看下一行(从nº6开始):
- 单击TableView后:
推荐答案
这很可能是以下错误: https://jira.appcelerator.org/browse/TC-5862
This might well be this bug:https://jira.appcelerator.org/browse/TC-5862
你怎么看?
这篇关于TableView:隐藏在屏幕上不可见的行上的内容(android)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!