Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12176 Android: Create ListView module
  3. TIMOB-12774

Android: implement ListView to work with default Template with views recycling and data binding

    Details

      Description

      Implement listview that works with basic template with view recycling and data binding.
      Testing steps :

      var section = Ti.UI.createSection();
      var listView = Ti.UI.createListView({top: 0, width: 500, sections: [section]});
      section.setData([
      {title: {text: 'hi', backgroundColor: 'red'},
       leftImage: {image: 'appicon.png'}
      }, 
      {title: {text: 'hello', backgroundColor: 'blue'},
       leftImage: {image: 'appicon.png'}
      }, 
      {title: {text: 'row threee', backgroundColor: 'yellow'},
       leftImage: {image: 'appicon.png'}
      }
       
       
      ]);
      var win = Ti.UI.createWindow();
      win.add(listView);
      win.open();
      
      

      1. Run this code, you should see a list view with 3 rows.

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              hpham Hieu Pham
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration