Commit Graph

86 Commits

Author SHA1 Message Date
RAHUL RAJA ce1eb70c86 Update SwipeLayout.java
Changed Variable names
2014-12-12 23:04:15 +05:30
Rahul Raja dee951d85d Added horizontal and vertical offset for swiping 2014-12-12 16:44:48 +05:30
daimajia fd22147ea3 fix #35, v1.1.7 2014-09-27 07:29:24 +08:00
daimajia e0b54dede3 support double click 2014-09-22 10:51:33 +08:00
daimajia 0b485a1e35 add swipe adapter utils 2014-09-19 22:56:14 +08:00
daimajia 677c318ab9 add Swipe Adapter utils 2014-09-19 22:55:20 +08:00
daimajia c3c583090f fix single mode not close bug 2014-09-17 23:12:58 +08:00
daimajia 9e965d7c38 a simpler and better way to mange open items 2014-09-17 14:18:30 +08:00
daimajia 7db7da3f58 a better auto-close SwipeAdapter(sigle item mode) 2014-09-17 12:10:31 +08:00
daimajia 7ba5e8b350 better selector effect 2014-09-16 09:44:30 +08:00
daimajia 6c3db3425c fix #24, support disable swipe gesture and fix setEnabled(boolean) not works issue 2014-09-12 10:00:00 +08:00
daimajia 34e2389773 fix #19 2014-09-11 19:36:15 +08:00
daimajia f6cd43ed82 fix no response bug 2014-09-11 17:22:46 +08:00
daimajia 0d3dc52c90 #23 support selector 2014-09-11 16:44:29 +08:00
daimajia 34e203930c clear comment 2014-09-02 20:18:07 +08:00
daimajia 171898e2e3 remove method 2014-09-02 20:16:09 +08:00
daimajia 4dfe98e207 small fix 2014-09-02 09:01:05 +08:00
daimajia 93793031ce fix #9, change to screen coordinates 2014-09-02 08:14:34 +08:00
Arvind Menon 9bd67cead6 Fixing accidental open when in a scroll view 2014-09-01 15:48:15 -04:00
daimajia ae890a8c9a complicated nested support, listview, gridview open item close item support 2014-08-31 09:26:04 +08:00
Arvind Menon 55ff957560 Adding methods to open and close items 2014-08-30 20:56:46 -04:00
daimajia 1ed01986ed #10 2014-08-30 12:11:54 +08:00
daimajia c0d5737356 #9 2014-08-30 11:21:56 +08:00
代码家 d1df4527ae Merge pull request #8 from StephaneBg/master
Add SimpleSwipeListener
2014-08-29 20:05:24 +08:00
StephaneBg 4078489f6e Add SimpleSwipeListener
Add class that implements funtions of interface SwipeListener not to
have to declare all if only some of them are used
2014-08-29 13:49:39 +02:00
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
daimajia 92ac1f371e add styleable ability 2014-08-28 09:01:19 +08:00
StephaneBg e9377a4d8b Fix gradle files 2014-08-27 14:10:22 +02:00
StephaneBg f1a4188d89 Add styleable ability
Fix mismatch of application package between gradle and manifest.
Remove unused resources.
Update demo with new ability.
2014-08-27 12:52:46 +02:00
daimajia fd66ce4d15 remove useless 2014-08-26 21:44:57 +08:00
daimajia c9588c0ae7 fix #3 2014-08-26 21:39:05 +08:00
Peter Cai c7c8bac09a SwipeLayout: Allow match_parent and wrap_content
This patch makes SwipeLayout extend FrameLayout, which has a complete
measuring function and allows useage of match_parent and wrap_content.

Tested in app: https://github.com/PaperAirplane-Dev-Team/BlackLight
Works just all right.

Signed-off-by: Peter Cai <xqsx43cxy@126.com>
2014-08-26 13:28:55 +08:00
daimajia 5106665d73 fix error status in GridView 2014-08-26 07:42:47 +08:00
daimajia f1f11d99d8 fix #1 2014-08-25 17:29:40 +08:00
daimajia 29cf7d21ff remove useless 2014-08-25 12:15:19 +08:00
daimajia 9a9ade7eeb Android Swipe Layout born 2014-08-25 12:08:30 +08:00