{ "id": "118245", "key": "TIMOB-14841", "fields": { "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": [], "resolution": null, "resolutiondate": null, "created": "2013-08-10T09:46:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "alphabet", "index", "sectionindexer", "tableview" ], "versions": [], "issuelinks": [ { "id": "30879", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118244", "key": "TIMOB-14842", "fields": { "summary": "MobileWeb: Index Bar for TableView", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:14.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Index Bar for Android - Same as iOS.\r\n\r\n{code:javascript} \r\nvar win = Titanium.UI.createWindow();\r\n \r\nvar data = [\r\n {title:'Alan (click to change index)', header:'A'},\r\n {title:'Alice' },\r\n {title:'Alexander'},\r\n {title:'Amos'},\r\n {title:'Alonzo'},\r\n {title:'Brad', header:'B'},\r\n {title:'Brent'},\r\n {title:'Billy'},\r\n {title:'Brenda'},\r\n {title:'Callie', header:'C'},\r\n {title:'Cassie'},\r\n {title:'Chris'},\r\n {title:'Cameron'},\r\n {title:'Don', header:'D'},\r\n {title:'Dilbert'},\r\n {title:'Deacon'},\r\n {title:'Devin'},\r\n {title:'Darin'},\r\n {title:'Darcy'},\r\n {title:'Erin', header:'E'},\r\n {title:'Erica'},\r\n {title:'Elvin'},\r\n {title:'Edrick'},\r\n {title:'Frank', header:'F'},\r\n {title:'Fred'},\r\n {title:'Fran'},\r\n {title:'Felicity'},\r\n {title:'George', header:'G'},\r\n {title:'Gina'},\r\n {title:'Gary'},\r\n {title:'Herbert', header:'H'},\r\n {title:'Henry'},\r\n {title:'Harold'},\r\n {title:'Ignatius', header:'I'},\r\n {title:'Irving'},\r\n {title:'Ivan'},\r\n {title:'Dr. J', header:'J'},\r\n {title:'Jefferson'},\r\n {title:'Jenkins'},\r\n {title:'Judy'},\r\n {title:'Julie'},\r\n {title:'Kristy', header:'K'},\r\n {title:'Krusty the Clown'},\r\n {title:'Klaus'},\r\n {title:'Larry', header:'L'},\r\n {title:'Leon'},\r\n {title:'Lucy'},\r\n {title:'Ludwig'},\r\n {title:'Mary', header:'M'},\r\n {title:'Mervin'},\r\n {title:'Malcom'},\r\n {title:'Mellon'},\r\n {title:'Ned', header:'N'},\r\n {title:'Nervous Eddie'},\r\n {title:'Nelson'},\r\n {title:'The Big O', header:'O'},\r\n {title:'Orlando'},\r\n {title:'Ox'},\r\n {title:'Pluto', header:'P'},\r\n {title:'Paris'},\r\n {title:'Potsie'}\r\n];\r\n \r\nvar tableview = Titanium.UI.createTableView({ data:data });\r\n \r\nvar index = [\r\n {title:'A',index:0},\r\n {title:'B',index:5},\r\n {title:'C',index:9},\r\n {title:'D',index:13},\r\n {title:'E',index:19},\r\n {title:'F',index:23},\r\n {title:'G',index:27},\r\n {title:'H'},\r\n {title:'I',index:33},\r\n {title:'J',index:36},\r\n {title:'K',index:41},\r\n {title:'L',index:44},\r\n {title:'M',index:48},\r\n {title:'N',index:52},\r\n {title:'O',index:55},\r\n {title:'P',index:(data.length -1)}\r\n];\r\n \r\ntableview.index = index;\r\nwin.add(tableview);\r\nwin.open();\r\n{code} ", "attachment": [], "flagged": false, "summary": "Android: Index Bar for TableView", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "277933", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, is possible to set some priority for this issue? This is again base/often used feature that is missing... Thank you", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-04T11:25:57.000+0000", "updated": "2013-11-04T11:25:57.000+0000" }, { "id": "333597", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-25T11:03:22.000+0000", "updated": "2014-11-25T11:04:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }