setLegacyRequestDisallowInterceptTouchEventEnabled
Deprecated
Only use this method if the changes introduced in requestDisallowInterceptTouchEvent in version 1.1.0-alpha03 and 1.1.1 are breaking your application.
Enables the legacy behavior of requestDisallowInterceptTouchEvent from before 1.1.0-alpha03, where the request is neither honored, nor propagated up to its parents, in either of the following two cases:
- The child as an AbsListView and the runtime is API <21
- The child has nested scrolling disabled
- is upgrading SwipeRefreshLayout from <1.1.1 to >= 1.1.0-alpha03
- has a SwipeRefreshLayout, or its parent, that no longer responds to touch events when it should
- setting this method to
true
fixes that issue
Parameters
enabled
true
to enable the legacy behavior, false
for default behavior