| java.lang.Object | |
| ↳ | com.mobeta.android.dslv.SimpleFloatViewManager |
Known Direct Subclasses
|
Simple implementation of the FloatViewManager class. Uses list items as they appear in the ListView to create the floating View.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This simple implementation creates a Bitmap copy of the
list item currently shown at ListView
position. | |||||||||||
Removes the Bitmap from the ImageView created in
onCreateFloatView() and tells the system to recycle it.
| |||||||||||
This does nothing
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.mobeta.android.dslv.DragSortListView.FloatViewManager
| |||||||||||
This simple implementation creates a Bitmap copy of the
list item currently shown at ListView position.
| position | Position of item to drag (NOTE:
position excludes header Views; thus, if you
want to call getChildAt(int), you will need
to add getHeaderViewsCount() to the index). |
|---|
Removes the Bitmap from the ImageView created in onCreateFloatView() and tells the system to recycle it.
| floatView | The floating View passed to
onCreateFloatView(int).
|
|---|
This does nothing
| floatView | The floating View. |
|---|---|
| position | The location (top-left; relative to DSLV
top-left) at which the float
View would like to appear, given the current touch location
and the offset provided in startDrag(int, View, int, int, int). |
| touch | The current touch location (relative to DSLV top-left). |