AndroidSwipeLayout/library
Peter Cai 7425e3c68c SwipeLayout: Allow childs to deny swipe gesture
When used with ScorllView(or horizontal) inside SwipeLayout, the swipe
gesture may conflict with the scroll action. If use requestDisallowInterceptTouchEvent, the scroll action will be back but the parent ListView's scroll action may be disallowed too.

This patch solved this problem by introducing a "SwipeDenier"
interface whose implementation should return if this swipe event should
be denied. When onInterceptTouchEvent is called, SwipeLayout will call
all SwipeDenier and if one of them returns true, the event will not be
intercepted and passed to child views.

Tested in app: https://github.com/PaperAirplane-Dev-Team/BlackLight
which requires HorizontalScrollView inside SwipeLayout

Signed-off-by: Peter Cai <xqsx43cxy@126.com>
2014-08-29 17:16:53 +08:00
..
src/main SwipeLayout: Allow childs to deny swipe gesture 2014-08-29 17:16:53 +08:00
.gitignore Android Swipe Layout born 2014-08-25 12:08:30 +08:00
build.gradle Fix gradle files 2014-08-27 14:10:22 +02:00
gradle-mvn-push.gradle fix #1 2014-08-25 17:29:40 +08:00
gradle.properties Fix gradle files 2014-08-27 14:10:22 +02:00
proguard-rules.pro Android Swipe Layout born 2014-08-25 12:08:30 +08:00