{ "id": "63254", "key": "TIMOB-2622", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-04-15T03:25:07.000+0000", "created": "2011-04-15T03:25:06.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "feature", "rplist", "scrollview" ], "versions": [], "issuelinks": [ { "id": "19758", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "63054", "key": "TIMOB-2422", "fields": { "summary": "Add scrollEnd event to scroll views on Android", "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": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-16T20:41:47.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": "{html}
cf #2422 re iOS, feature request from customer
Unless I'm missing something really hacky and tricky that we\ncould do, I don't see any way to implement this in Android. We get\nthe scroll
event easily thanks to Android\nView.onScrollChanged
. For our TableView
,\nwe can get scrollEnd
easily thanks to Android\nListView.setOnScrollListener
, the listener for which\ncontains onScrollStateChanged
, which can be checked\nfor SCROLL_STATE_IDLE
. But for non-ListView scrollers\nsuch as the ScrollView
, this doesn't exist.
Hacky solutions like maybe checking for the first touch\nUP
event after a onScrollChanged
event --\nmeaning the user has lifted their finger after a scroll -- wouldn't\ntake into account that the view still may be flinging, and also\nwouldn't account for a scroll caused by the trackpad.
In short, I can't think of any way to do this. Any ideas out\nthere in Donland?
Moving to M05 to see if I can find away around it.
There is some discrepancy about what this event is suppose to\ndo. It appears that it was put in iOS to deal with pull for\nrefresh. Android doesn't have \"overscroll\" until API 9. Moving to\nTBS until we can resolve what the event is suppose to do on both\nplatforms.
iOS ticket can be tracked here: \nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...