android.support.v7.widget.helper.ItemTouchUIUtil |
Utility class for ItemTouchHelper
which handles item transformations for different
API versions.
ItemTouchHelper.Callback
's drawing methods. Default
implementations in ItemTouchHelper.Callback
call these methods with
itemView
and ItemTouchUIUtil
makes necessary changes
on the View depending on the API level. You can access the instance of ItemTouchUIUtil
via getDefaultUIUtil()
and call its methods with the children
of ViewHolder that you want to apply default effects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The default implementation for
clearView(RecyclerView, RecyclerView.ViewHolder)
| |||||||||||
The default implementation for
onChildDraw(Canvas, RecyclerView, RecyclerView.ViewHolder, float, float, int, boolean)
| |||||||||||
The default implementation for
onChildDrawOver(Canvas, RecyclerView, RecyclerView.ViewHolder, float, float, int, boolean)
| |||||||||||
The default implementation for
onSelectedChanged(RecyclerView.ViewHolder, int)
|
The default implementation for clearView(RecyclerView, RecyclerView.ViewHolder)
The default implementation for onChildDraw(Canvas, RecyclerView, RecyclerView.ViewHolder, float, float, int, boolean)
The default implementation for onChildDrawOver(Canvas, RecyclerView, RecyclerView.ViewHolder, float, float, int, boolean)
The default implementation for onSelectedChanged(RecyclerView.ViewHolder, int)