{ "id": "170245", "key": "AC-5353", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2017-11-14T20:35:16.000+0000", "created": "2017-11-07T15:55:21.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-14T20:35:16.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "*Actual scenario* : _(almost always i use the ListView with only one section)_ When i have to update the items of a section i do this:\r\n{code}\r\nlistView.sections[0].setItems(newdata);\r\nlistView.scrollToItem(0,0,false);\r\n{code}\r\n*My request*: Add a new parameter to the function *setItems* (a boolean value?) to enable (if pass true) the scroll to top without having to call the function *scrollToItem*.\r\nExample: \r\n{code}\r\nlistView.sections[0].setItems(newdata,true);\r\n{code}\r\n\r\nCould it be an interesting feature to implement?\r\n", "attachment": [], "flagged": false, "summary": "iOS - Listview / ListSection : Scroll to top when set new items", "creator": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "environment": null, "comment": { "comments": [ { "id": "430447", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, can you provide a native guide on this? is this supported natively? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-11-11T17:16:22.000+0000", "updated": "2017-11-11T17:16:22.000+0000" }, { "id": "430501", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "I don't think it's a native feature", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2017-11-13T08:05:57.000+0000", "updated": "2017-11-13T08:05:57.000+0000" }, { "id": "430611", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, If the feature is not supported natively, We will not support that with Appcelerator. Maybe in future when this is done natively our engineers might consider it. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-11-14T20:33:41.000+0000", "updated": "2017-11-14T20:35:05.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }