Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27171] iOS 13: Support new UITableViewStyleInsetGrouped style in list-view

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2019-08-30T15:01:44.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.2.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeVijay Singh
Created2019-06-19T18:11:27.000+0000
Updated2020-11-20T04:16:58.000+0000

Description

The new UITableViewStyleInsetGrouped should be supported in the list-view and table-view.

Comments

  1. Vijay Singh 2019-06-25

    PR - https://github.com/appcelerator/titanium_mobile/pull/10994 Test Case (TableView)-
       var win = Ti.UI.createWindow();
       var navWindow = Ti.UI.createNavigationWindow({
           window: win
       });
       
       var sectionFruit = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });
       sectionFruit.add(Ti.UI.createTableViewRow({ title: 'Apples' }));
       sectionFruit.add(Ti.UI.createTableViewRow({ title: 'Bananas' }));
       
       var sectionVeg = Ti.UI.createTableViewSection({ headerTitle: 'Vegetables' });
       sectionVeg.add(Ti.UI.createTableViewRow({ title: 'Carrots' }));
       sectionVeg.add(Ti.UI.createTableViewRow({ title: 'Potatoes' }));
       
       var table = Ti.UI.createTableView({
         data: [sectionFruit, sectionVeg],
         style: Ti.UI.iOS.TableViewStyle.INSET_GROUPED
       });
       
       win.add(table);
       navWindow.open();
       
    Test Case (List View) -
       var win = Ti.UI.createWindow({
           backgroundColor: '#fff'
       });
        
       var list = Ti.UI.createListView({
           top: 50,
           style: Ti.UI.iOS.TableViewStyle.INSET_GROUPED,
           sections: [Ti.UI.createListSection({
               headerTitle: 'List 1',
               items: [{
                   properties: {
                       title: "Item 1",
                   }
               },{
                   properties: {
                       title: "Item 2",
                   }
               },{
                   properties: {
                       title: "Item 3",
                   }
               }
               ]
           }),
           Ti.UI.createListSection({ 
                headerTitle: 'List 2',
               items: [{
                   properties: {
                       title: "Item 4",
                   }
               },{
                   properties: {
                       title: "Item 5",
                   }
               },{
                   properties: {
                       title: "Item 6",
                   }
               }
               ]
           })]
       })
        
       win.add(list);
       win.open();
       
  2. Keerthi Mahalingam 2019-08-17

    FR passed. waiting on Jenkins
  3. Samir Mohammed 2019-08-23

    [~vijaysingh] Please could you add a PR for 8_3_X.
  4. Christopher Williams 2019-08-29

    merged to master
  5. Samir Mohammed 2019-08-30

    *Closing ticket*, improvement verified in SDK version 8.2.0.v20190829124255. Note* Improvement will be merged into 8_3_X at a later date. Test and other information can be found at: PR - https://github.com/appcelerator/titanium_mobile/pull/10994

JSON Source