[AC-1801] iOS: ListView parity with Android for separators on non-existent items
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-07-12T23:09:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | iOS, listview, parity |
Reporter | Mark Mokryn |
Assignee | Mauro Parra-Miranda |
Created | 2013-07-12T11:50:26.000+0000 |
Updated | 2016-03-08T07:40:42.000+0000 |
Description
*Problem*
On iOS, ListView fills the screen with separators for non-full ListViews. Android looks better without the lines.
*Test case*
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
var listView = Ti.UI.createListView({
top : 0
//, height: Ti.UI.SIZE this causes a bug on iOS.... another issue
});
var section = Ti.UI.createListSection({
headerTitle : 'header'
});
section.setItems([{
properties : {
title : 'iOS has lines for non-existent rows'
}
}]);
// section.footerTitle = 'a non-null string'; will get rid of the lines
// but what if I don't want an ugly gray bar at the end of every ListView? :(
listView.sections = [section];
win.add(listView);
win.open();
Lines for non-existent items is native iOS behavior. Closing as invalid.