@@ -4,6 +4,11 @@ DragSortListView
4
4
News
5
5
----
6
6
7
+ ** Feb. 9, 2013** : Version 0.6.0. Consolidated remove modes to
8
+ ` click_remove ` and ` fling_remove ` . No more fling remove while
9
+ dragging; fling anywhere on item to remove it.
10
+ [ Leszek Mzyk] ( https://github.com/imbryk ) is a bona fide code-slanger.
11
+
7
12
** Jan. 10, 2013** : Version 0.5.0 is released. Supports ListView
8
13
multi-choice and single-choice modes thanks to the hard work of
9
14
[ Mattias Flodin] ( https://github.com/mattiasflodin ) ! Awesome-sauce.
@@ -152,16 +157,16 @@ of 1 means items snap from position to position without animation.
152
157
* ` remove_mode ` : (enum, "flingRight") Sets the gesture for removing the
153
158
dragged item.
154
159
+ "clickRemove": Click on item child View with id ` click_remove_id ` .
155
- + "flingRight": Fling to the right; get outta here!
156
- + "flingLeft": Fling to the left; sayonara sucker!
157
- + "slideRight": Floating View fades as you slide your finger
158
- to the right; lifting while faded removes item.
159
- + "slideLeft": Floating View fades as you slide your finger
160
- to the right; lifting while faded removes item.
160
+ + "flingRemove": Fling horizontal anywhere on item.
161
161
* ` click_remove_id ` : (id, 0) Android resource id that points to a
162
162
child View of a list item. When ` remove_mode="clickRemove" ` and
163
163
` remove_enabled="true" ` , a click on this child View removes the
164
164
containing item. This attr is used by DragSortController.
165
+ * ` fling_handle_id ` : (id, 0) Android resource id that points to a
166
+ child View of a list item. When ` remove_mode="flingRemove" ` and
167
+ ` remove_enabled="true" ` , a fling that originates on this child
168
+ View removes the containing item. This attr is used by
169
+ DragSortController.
165
170
166
171
### Listeners
167
172
@@ -355,7 +360,7 @@ dependency to your pom.xml:
355
360
<dependency >
356
361
<groupId >com.mobeta.android.dslv</groupId >
357
362
<artifactId >drag-sort-listview</artifactId >
358
- <version >0.3 .0-SNAPSHOT</version >
363
+ <version >0.6 .0-SNAPSHOT</version >
359
364
<type >apklib</type >
360
365
</dependency >
361
366
```
0 commit comments