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

Android: ListView crashes when searchableText is not specified

    Details

    • Story Points:
      3
    • Sprint:
      2014 Sprint 17 SDK

      Description

      Steps to reproduce:

      var window = Ti.UI.createWindow({background: "white"});
      var data = [
          { properties: { title: 'Row 1', searchableText: "row 1"} },
          { properties: { title: 'Row 2' } },
          { properties: { title: 'Row 3', searchableText: "row 3"} }
      ];
      var section = Ti.UI.createListSection({items: data, headerTitle: "Section 1"});
      var searchView = Ti.UI.Android.createSearchView();
      var listView = Ti.UI.createListView({searchView: searchView, sections: [section]});
       
      window.add(listView);
      window.open();
      
      

      1. Run code, type something in the search view, app crashes.

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              hpham Hieu Pham
              Reviewer:
              Ping Wang
              Tester:
              Lokesh Choudhary
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration