Skip to content

Commit 686d766

Browse files
committed
Document removeCheckState in README
1 parent d0bb590 commit 686d766

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DragSortListView
44
News
55
----
66

7-
**Dec. 8, 2012**: Version 0.5.0 is released. Supports ListView
7+
**Jan. 10, 2013**: Version 0.5.0 is released. Supports ListView
88
multi-choice and single-choice modes thanks to the hard work of
99
[Mattias Flodin](https://github.com/mattiasflodin)! Awesome-sauce.
1010
Check out the new demos.
@@ -228,6 +228,12 @@ Whether you actually remove the data or not is up to you.
228228
Item removal can now happen outside of a drag event. The method
229229
`DragSortListView.removeItem(int position)` can be called at any time.
230230

231+
If your DSLV instance `android:choiceMode` is not `"none"`, and your
232+
ListAdapter does not have stable ids, you must call
233+
[DragSortListView.removeCheckState(int position)](http://bauerca.github.com/drag-sort-listview/reference/com/mobeta/android/dslv/DragSortListView.html#removeCheckState(int))
234+
within `remove(which)`. See the documentation in the DSLV API for more
235+
info.
236+
231237
#### DragSortListView.DragListener
232238

233239
The callback in the DragListener is

0 commit comments

Comments
 (0)