public interface

DraggableItemViewHolder

com.h6ah4i.android.widget.advrecyclerview.draggable.DraggableItemViewHolder
Known Indirect Subclasses

Class Overview

Interface which provides required information for dragging item. Implement this interface on your sub-class of the android.support.v7.widget.RecyclerView.ViewHolder.

Summary

Public Methods
abstract int getDragStateFlags()
Gets the state flags value for dragging item
abstract void setDragStateFlags(int flags)
Sets the state flags value for dragging item

Public Methods

public abstract int getDragStateFlags ()

Gets the state flags value for dragging item

public abstract void setDragStateFlags (int flags)

Sets the state flags value for dragging item

Parameters
flags Bitwise OR of these flags; - STATE_FLAG_DRAGGING - STATE_FLAG_IS_ACTIVE - STATE_FLAG_IS_IN_RANGE - STATE_FLAG_IS_UPDATED