public interface

ExpandableSwipeableItemAdapter

implements BaseExpandableSwipeableItemAdapter<GVH extends RecyclerView.ViewHolder, CVH extends RecyclerView.ViewHolder>
com.h6ah4i.android.widget.advrecyclerview.expandable.ExpandableSwipeableItemAdapter<GVH extends android.support.v7.widget.RecyclerView.ViewHolder, CVH extends android.support.v7.widget.RecyclerView.ViewHolder>

Summary

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

Public Methods

public abstract SwipeResultAction onSwipeChildItem (CVH holder, int groupPosition, int childPosition, int result)

Called when child item is swiped. *Note that do not change data set and do not call notifyDataXXX() methods inside of this method.*

Parameters
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
Returns

public abstract SwipeResultAction onSwipeGroupItem (GVH holder, int groupPosition, int result)

Called when group item is swiped. *Note that do not change data set and do not call notifyDataXXX() methods inside of this method.*

Parameters
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
Returns