{ "id": "64184", "key": "TIMOB-3552", "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": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-23T14:52:32.000+0000", "created": "2011-04-15T03:46:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "16278", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "89397", "key": "TIMOB-8496", "fields": { "summary": "iOS: ScrollView - expose scrollViewWillBeginDecelerating", "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": "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": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T20:29:08.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": "Requesting that the scrollView and tableView event \"scrollViewDidEndDecelerating\" be exposed.\r\n\r\nFor example, fire \"scrollFinished\" event so that we know where we are after the scroll\r\nstopped:\r\n{code}\r\n- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView \r\n{\r\n// resume image loader when we're done scrolling\r\n[[ImageLoader sharedLoader] resume];\r\nif ([self.proxy _hasListeners:@\"scrollFinished\"])\r\n {\r\n NSMutableDictionary *event = [NSMutableDictionary dictionary];\r\n [event setObject:[TiUtils pointToDictionary:scrollView.contentOffset] forKey:@\"contentOffset\"];\r\n [event setObject:[TiUtils sizeToDictionary:scrollView.contentSize] forKey:@\"contentSize\"];\r\n [event setObject:[TiUtils sizeToDictionary:tableview.bounds.size] forKey:@\"size\"];\r\n [self.proxy fireEvent:@\"scrollFinished\" withObject:event];\r\n }\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: ScrollView, TableView - Fire event when scroll view `did end decelerating`", "creator": { "name": "zir.echo(atgmail)", "key": "zir.echo(atgmail)", "displayName": "zir.echo (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.8.2\r\niOS simulator 5.0", "comment": { "comments": [ { "id": "411517", "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-13T20:29:08.000+0000", "updated": "2017-03-13T20:29:08.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }