scrollEnd/scrollend event is not getting fired in a ScrollView for Andrioid. On iOS is working perfectly. This issue was tested on Titanium SDK 3.5.1.GA, 4.0.0.GA, 4.1.0.GA classic version and Alloy
The ScrollEnd event must be fired at the bottom or top of the ScrolView after scroll in Android.
1. Grab sample code and throw it to app.js
2. Run the app for android
3. Scroll to the bottom of the view
4. The event is not getting fired to show the alert text
var win = Ti.UI.createWindow({
backgroundColor: 'white',
});
var scrollView = Ti.UI.createScrollView();
var label =Ti.UI.createLabel();
label.text="When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.When you call the API to retrieve a report, you use the ids parameter to indicate whether you are retrieving a channel report or a content owner report. Your request also specifies the metrics that the report will include, the dimensions that will be used to aggregate data in the report, and the filters that will be used to limit the data that the API returns.";
label.color="black";
scrollView.add(label);
scrollView.addEventListener('scrollEnd', function(){
alert('scrollEnd');
});
win.add(scrollView);
win.open();
According to the doc, "scrollend" is not supported for Ti.UI.ScrollView: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ScrollView-event-scrollend Looking at the code, Android currently does not support this event.
Closing ticket as invalid with reference to the previous comments.