{ "id": "124899", "key": "TIMOB-16218", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-11T17:44:02.000+0000", "created": "2014-01-16T22:46:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "defect", "ios", "qe-6.0.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "38212", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "131278", "key": "AC-1523", "fields": { "summary": "[iOs] Pull to refresh dont slide up back", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52751", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "163310", "key": "TIMOB-23927", "fields": { "summary": "iOS10: Initial refreshStart does not display the refresh icon", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-09-19T17:38:39.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h2.Test Code\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar counter = 0;\r\nfunction genData() {\r\n var data = [];\r\n var i = 1;\r\n for ( i = 1; i <= 3; i++) {\r\n data.push({\r\n properties : {\r\n title : 'ROW ' + (counter + i)\r\n }\r\n });\r\n }\r\n counter += 3;\r\n return data;\r\n}\r\n \r\nvar section = Ti.UI.createListSection();\r\nsection.setItems(genData());\r\nvar control = Ti.UI.createRefreshControl({\r\n tintColor : 'red'\r\n});\r\n \r\n \r\nvar listView = Ti.UI.createListView({\r\n sections : [section],\r\n refreshControl : control\r\n});\r\n \r\ncontrol.addEventListener('refreshstart', function(e) {\r\n Ti.API.info('refreshstart');\r\n setTimeout(function() {\r\n Ti.API.debug('Timeout');\r\n section.appendItems(genData());\r\n control.endRefreshing();\r\n }, 2000);\r\n});\r\n \r\nwin.add(listView);\r\nwin.open();\r\n\r\ncontrol.beginRefreshing(); //It does not do anything when being called\r\n{code}\r\n\r\nh2.Actual Result\r\n\r\nNothing happens\r\n\r\nh2.Expected Result\r\n\r\nRefreshControl should show its loading state in other words show the spinning wheel at the top\r\n", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.RefreshControl.beginRefreshing() does not work", "creator": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti.SDK 3.2.0\r\niOS 7.0.3", "closedSprints": [ { "id": 678, "state": "closed", "name": "2016 Sprint 14 SDK", "startDate": "2016-07-02T00:25:57.921Z", "endDate": "2016-07-16T00:25:00.000Z", "completeDate": "2016-07-18T03:18:29.729Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "288574", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce the issue on iOS 7.0.3 simulator. No refresh control appears for the list view. Calling beginRefresh does not fire the event either.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-17T05:02:56.000+0000", "updated": "2014-01-17T05:02:56.000+0000" }, { "id": "288578", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is there a timeframe for this issue fix since I urgently need this feature?\r\n\r\n", "updateAuthor": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-17T05:45:54.000+0000", "updated": "2014-01-17T05:45:54.000+0000" }, { "id": "291333", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any plan of fixing this issue? ", "updateAuthor": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T10:32:01.000+0000", "updated": "2014-02-05T10:32:01.000+0000" }, { "id": "294557", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is there any timeframe for this ticket?", "updateAuthor": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T04:38:56.000+0000", "updated": "2014-02-25T04:38:56.000+0000" }, { "id": "296676", "author": { "name": "chillyb", "key": "chillyb", "displayName": "billy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You can get around this for now by calling table.scrollToTop(-60) after beginRefreshing. It's actually spinning properly, just not moving the table down.", "updateAuthor": { "name": "chillyb", "key": "chillyb", "displayName": "billy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-11T21:20:14.000+0000", "updated": "2014-03-11T21:20:14.000+0000" }, { "id": "299118", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Billy for your workaround", "updateAuthor": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T05:02:23.000+0000", "updated": "2014-03-28T05:02:23.000+0000" }, { "id": "323004", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue exist with 3.2.0 but can't reproduce with 3.4.0 \r\niOS 7.1 \r\niOS 7.0\r\nTiSDK 3.4.0 \r\nAppcelerator Studio, build: 3.3.0.201407111535 \r\nTitanium Command-Line Interface, CLI version 3.3.0,", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-11T06:18:22.000+0000", "updated": "2014-09-11T06:18:53.000+0000" }, { "id": "388448", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Alright, let's tackle this one! The problem is known on the native side, let me see if we can resolve by applying the contentOffset internally, guess that's the cleanest solution. Anyway, I am wondering why Apple does not do that themselves.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-16T04:00:02.000+0000", "updated": "2016-06-16T04:00:02.000+0000" }, { "id": "390085", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8115", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-07T22:10:31.000+0000", "updated": "2016-07-07T22:10:31.000+0000" }, { "id": "396545", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed using the demo code provided. However, there seems to be a bug with iOS10 where the refresh indicator icon is not visible on the initial refresh, but the listView is updated correctly. Created a new ticket regarding the issue: TIMOB-23927\r\n\r\nTested On:\r\niPhone 6 Plus 10.0.1 Device & Simulator\r\niPhone 5S 9.3.5 Device\r\niPhone 6 8.4 Simulator\r\nMac OSX El Capitan 10.11.6\r\nTi SDK: 6.0.0.v20160917045955\r\nAppc Studio: 4.8.0.201609101003\r\nAppc NPM: 4.2.8-6\t\r\nApp CLI: 6.0.0-45\r\nXcode 8.0 \r\nNode v4.4.7\r\n\r\n*Closing ticket.*\r\n\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-09-19T17:37:42.000+0000", "updated": "2016-09-19T17:37:42.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }