Commit Graph

165 Commits

Author SHA1 Message Date
linfaxin eab20af25d [fix] If requestLayout() call, will reset children bounds. 2015-08-17 23:54:50 +08:00
代码家 14b67ac74a Merge pull request #159 from Evisceration/jitpack-support
gradle: add jitpack.io support
2015-07-21 06:57:20 +08:00
daimajia 6f6498e549 prettify the code and do clean up. 2015-06-11 21:53:44 +08:00
代码家 a10e28ded7 Merge pull request #164 from wujingchao/master
removeAllSwipeListener
2015-06-11 21:48:24 +08:00
代码家 bfd86f0a6f Merge pull request #155 from kostartur/improvement/application_tag
Application tag in library
2015-06-11 21:40:31 +08:00
wujingchao a3ca6ca713 removeAllSwipeListener 2015-06-03 21:47:30 +08:00
Alexander Martinz 0734b92f88 gradle: add jitpack.io support
Change-Id: I9497fb07a9d29d274b6d02ff29c4610fc353225d
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
2015-05-29 01:38:05 +02:00
Artur Kosta 5ade0f2d21 Application tag in library
Application tag allows running Roboelectric test and inflate views from this library (Roboelectric 2.4)
2015-05-22 14:06:21 +02:00
代码家 cc6a322f74 Merge pull request #145 from jivesoftware/master
Refactor SwipeItemManager code to decouple it from adapter converns
2015-05-05 10:51:48 +08:00
Mike Cumings be8b5d483e Bump support-v4 to 22.1.1 2015-04-30 13:36:47 -07:00
Mike Cumings e82cf4b21a Remove redundant operations from SwipeItemManagerImpl and consolidate into the base class. 2015-04-30 13:31:26 -07:00
Mike Cumings 9a0bb05a5c Swipe manager code does not need knowledge of the adapter implementation so remove it. 2015-04-30 12:53:15 -07:00
linfaxin cc1d1b3b71 Optimize add edge and set drag logic. 2015-04-22 19:11:11 +08:00
linfaxin 32bc0a5640 fix issue: https://github.com/daimajia/AndroidSwipeLayout/issues/125#issuecomment-95034892 2015-04-22 19:02:38 +08:00
linfaxin f53ccb009c fix issue: https://github.com/daimajia/AndroidSwipeLayout/issues/134#issuecomment-95018822 2015-04-22 19:02:05 +08:00
daimajia 84001f59f6 v1.2.0 2015-04-20 11:13:36 +08:00
daimajia 5ffd6a2e2b Merge branch 'master' of github.com:daimajia/AndroidSwipeLayout into linfaxin 2015-04-20 10:15:11 +08:00
代码家 b68a08c641 Merge pull request #132 from prt2121/update-demo
Update demo
2015-04-18 23:00:20 +08:00
Prat 66b0ef3ae8 Optimize imports 2015-04-18 10:27:31 -04:00
Prat ca792b5166 Use addDrag instead of deprecated methods 2015-04-18 10:26:10 -04:00
代码家 f9ac392ef6 Merge pull request #106 from linfaxin/master
Refactor the touch logic and usage.
2015-04-08 14:28:57 +08:00
linfaxin 0e0390c1ff remove a useless try catch 2015-04-08 10:21:36 +08:00
daimajia 670863a2d5 remove useless try catch. 2015-04-08 08:45:29 +08:00
daimajia feafd6a835 Merge branch 'master' of https://github.com/linfaxin/AndroidSwipeLayout into linfaxin 2015-04-08 07:59:59 +08:00
代码家 3041765187 Merge pull request #113 from intrications/patch-1
Update version number for Gradle and Maven
2015-03-22 22:40:21 +08:00
Michael Basil 72612ad687 Update version number for Gradle and Maven
Eclipse and Demo version numbers can't be increased because the jar and apk haven't been added to releases.
2015-03-22 12:05:50 +00:00
linfaxin 79bb4ecb36 Refactor. Stronger and easier. 2015-03-22 11:14:54 +08:00
linfaxin b460d4dd47 Optimize the implement when surface or bottom not a GroupView 2015-03-21 22:39:41 +08:00
linfaxin 8fea955083 Improve the release drag logic. 2015-03-19 20:26:34 +08:00
linfaxin 8412d50131 Support clickToClose attr, if set to true, the opened swipeLayout will auto close when click on it's surface view 2015-03-19 11:36:29 +08:00
linfaxin 6e909b0343 The bottom and surface views needn't be ViewGroup.
The bottom view can use layout_gravity to indicate the swiping direction
2015-03-17 18:33:37 +08:00
linfaxin 8e89db06b0 Handle the itemClick and the itemLongClick only when the SwipeLayout is the root of AdapterView's item, 2015-03-16 10:33:18 +08:00
linfaxin 742494d085 improve touch handle and intercept logic :
1.The surface and bottom view could be clickable and longClickable, and it's selector drawables works fine;
2.The swipeLayout can wrap in other gestural layout, the swipe and other layout's gesture work's pretty;
2015-03-15 20:53:54 +08:00
daimajia 9ca31ac50f prettify the samples. 2015-02-22 12:07:31 +08:00
代码家 19079c76cb Merge pull request #93 from HarshEvilGeek/master
Adding support for multiple drag edges on a single view and touchSlop
2015-02-22 11:44:02 +08:00
HarshEvilGeek a8b4b08c46 Merging changes from master 2015-02-16 14:14:44 +05:30
HarshEvilGeek c9555a9e08 Merge remote-tracking branch 'upstream/master' 2015-02-16 14:14:27 +05:30
代码家 cacc6e6f29 Merge pull request #90 from daisy1754/fix-indent-in-readme
Fix inconsistent indents for gradle in README.
2015-02-16 11:25:26 +08:00
daisy1754 4aa3d6e63f Fix inconsistent indents for gradle in README.
Previously tab and whitespaces are mixed.
2015-02-15 17:18:35 -08:00
HarshEvilGeek 5ced46bb56 adding a constant for empty layout ids 2015-02-12 16:49:22 +05:30
HarshEvilGeek 93c06bfa01 demo to show that three edge swipe works 2015-02-12 16:02:19 +05:30
HarshEvilGeek 1fd2ec7d2f Recylcing typed array and adding support for opening specific drag edge 2015-02-12 11:41:08 +05:30
Akhil 5bf1189d1c Merge pull request #2 from daimajia/#40
remove useless files
2015-02-11 20:55:17 +05:30
daimajia e8f4ec1c98 remove useless files 2015-02-11 23:17:19 +08:00
HarshEvilGeek c841ba57e4 Adding support for enabling and disabling particular swipe edges. One bug fix from merge 2015-02-11 18:25:31 +05:30
HarshEvilGeek ea5a0156dc fixing bug from horizontal swipe offset and adding preliminary code to restrict particular drag edges 2015-02-11 17:53:10 +05:30
HarshEvilGeek ee02941dd8 merging 2015-02-11 15:07:33 +05:30
HarshEvilGeek f8350fce20 adding support for the user to pass the ids of bottom views 2015-02-11 14:51:05 +05:30
HarshEvilGeek 6fcf27d4ce fixing touchslop changes 2015-02-11 13:53:56 +05:30
代码家 b97facaeec RecyclerView support. 2015-01-31 19:03:33 +08:00