{ "id": "109837", "key": "TIMOB-12774", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "107311", "key": "TIMOB-12176", "fields": { "summary": "Android: Create ListView module", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15273", "description": "2013 Sprint 05 API", "name": "2013 Sprint 05 API", "archived": true, "released": true, "releaseDate": "2013-03-11" }, { "id": "14815", "description": "2013 Sprint 05", "name": "2013 Sprint 05", "archived": true, "released": true, "releaseDate": "2013-03-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-14T05:14:38.000+0000", "created": "2013-02-17T09:40:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T01:22:01.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Implement listview that works with basic template with view recycling and data binding.\r\nTesting steps : \r\n{code}\r\nvar section = Ti.UI.createSection();\r\nvar listView = Ti.UI.createListView({top: 0, width: 500, sections: [section]});\r\nsection.setData([\r\n{title: {text: 'hi', backgroundColor: 'red'},\r\n leftImage: {image: 'appicon.png'}\r\n}, \r\n{title: {text: 'hello', backgroundColor: 'blue'},\r\n leftImage: {image: 'appicon.png'}\r\n}, \r\n{title: {text: 'row threee', backgroundColor: 'yellow'},\r\n leftImage: {image: 'appicon.png'}\r\n}\r\n\r\n\r\n]);\r\nvar win = Ti.UI.createWindow();\r\nwin.add(listView);\r\nwin.open();\r\n\r\n{code}\r\n\r\n1. Run this code, you should see a list view with 3 rows.", "attachment": [], "flagged": false, "summary": "Android: implement ListView to work with default Template with views recycling and data binding", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "242175", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/3935", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T05:14:20.000+0000", "updated": "2013-03-14T05:14:20.000+0000" }, { "id": "410212", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T01:22:01.000+0000", "updated": "2017-03-09T01:22:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }