com.h6ah4i.android.widget.advrecyclerview.expandable.ExpandableSwipeableItemAdapter<GVH extends android.support.v7.widget.RecyclerView.ViewHolder, CVH extends android.support.v7.widget.RecyclerView.ViewHolder> |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract SwipeResultAction |
onSwipeChildItem(CVH holder, int groupPosition, int childPosition, int result)
Called when child item is swiped.
| ||||||||||
abstract SwipeResultAction |
onSwipeGroupItem(GVH holder, int groupPosition, int result)
Called when group item is swiped.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.h6ah4i.android.widget.advrecyclerview.expandable.BaseExpandableSwipeableItemAdapter
|
Called when child item is swiped. *Note that do not change data set and do not call notifyDataXXX() methods inside of this method.*
holder | The ViewHolder which is associated to the swiped item. |
---|---|
groupPosition | Group position. |
childPosition | Child position. |
result | The result code of user's swipe operation.
RESULT_CANCELED ,
RESULT_SWIPED_LEFT ,
RESULT_SWIPED_UP ,
RESULT_SWIPED_RIGHT or
RESULT_SWIPED_DOWN |
SwipeResultAction
object.
Called when group item is swiped. *Note that do not change data set and do not call notifyDataXXX() methods inside of this method.*
holder | The ViewHolder which is associated to the swiped item. |
---|---|
groupPosition | Group position. |
result | The result code of user's swipe operation.
RESULT_CANCELED ,
RESULT_SWIPED_LEFT ,
RESULT_SWIPED_UP ,
RESULT_SWIPED_RIGHT or
RESULT_SWIPED_DOWN |
SwipeResultAction
object.