Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24822

Android: TableView with sections will error on Android N

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.2.0
    • Component/s: Android
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      2017 Sprint 13 SDK

      Description

      • TableView with sections will throw an error on Android N

      var win = Ti.UI.createWindow({
              backgroundColor: 'gray',
              layout: 'vertical'
          }),
          tv = Ti.UI.createTableView({
              headerTitle: 'TableView',
              data: [
                  {
                      title: 'Apples',
                      hasChild: true
                  }, {
                      title: 'Bananas'
                  }
              ],
              height: Ti.UI.SIZE
          }),
          ls = Ti.UI.createListSection({
              headerTitle: 'ListView'
          }),
          lv = Ti.UI.createListView({
              height: Ti.UI.SIZE
          });
       
      ls.setItems([
          {
              properties: {
                  title: 'Apples',
                  accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK
              }
          }, {
              properties: {
                 title: 'Bananas',
                 accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DETAIL
             }
          }
      ]);
      lv.sections = [ls];
       
      win.add(tv);
      win.add(lv);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              gmathews Gary Mathews
              Reviewer:
              Joshua Quick
              Tester:
              Samir Mohammed
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10775
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code