TableView: content hidden on rows that are not screen visible (android)

守給你的承諾、 提交于 2019-11-28 11:45:29

问题


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.

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.

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 Project: test.cal.zip

JIRA Ticket: https://jira.appcelerator.org/browse/AC-631

  • Start of the TableView (with 20 rows):

  • Scrolled a little bit to see the next rows (starting on nº6):

  • After a click on TableView:


回答1:


This might well be this bug: https://jira.appcelerator.org/browse/TC-5862

What do you think?



来源:https://stackoverflow.com/questions/35433035/tableview-content-hidden-on-rows-that-are-not-screen-visible-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!