appcelerator/titanium_mobile — pull request #2130 by russfrank (2012-05-03 18:57:30+00:00)
Title: [TC-842] Android: added `ScrollableView`.`scrollingEnabled`

[JIRA: [TC-842] Android: `ScrollableView` should support `scrollingEnabled` property](https://jira.appcelerator.org/browse/TC-842)

Adds support for the `scrollingEnabled` property on Android. Here's a test:

```javascript
var win = Ti.UI.createWindow({layout:'horizontal'});

var view1 = Ti.UI.createView({ backgroundColor:'#123', width: 250 });
var view2 = Ti.UI.createView({ backgroundColor:'#246', width: 250 });
var view3 = Ti.UI.createView({ backgroundColor:'#48b', width: 250 });

var scrollableView = Ti.UI.createScrollableView({
views: [view1,view2,view3],
showPagingControl: true,
width: 300,
height: 430
});

win.add(scrollableView);
win.open();

setTimeout(function () {
scrollableView.scrollingEnabled = false;
setTimeout(function () {
scrollableView.setScrollingEnabled(true);
}, 5000);
}, 5000);
```

After 5 seconds, the view should stop being scrollable. Five seconds after that, it should once again be able to be scrolled.