public interface

ExpandableItemViewHolder

com.h6ah4i.android.widget.advrecyclerview.expandable.ExpandableItemViewHolder
Known Indirect Subclasses

Class Overview

Interface which provides required information for expanding item.

Implement this interface on your sub-class of the androidx.recyclerview.widget.RecyclerView.ViewHolder.

Summary

Public Methods
abstract ExpandableItemState getExpandState()
Gets the state object for expandable item.
abstract int getExpandStateFlags()
Gets the state flags value for expanding item.
abstract void setExpandStateFlags(int flags)
Sets the state flags value for expanding item

Public Methods

public abstract ExpandableItemState getExpandState ()

Gets the state object for expandable item. This method can be used inside of the onBindViewHolder(RecyclerView.ViewHolder, int).

Returns

public abstract int getExpandStateFlags ()

Gets the state flags value for expanding item. You can access these flags more human friendly way through getExpandState().

See Also

public abstract void setExpandStateFlags (int flags)

Sets the state flags value for expanding item

Parameters
flags Bitwise OR of these flags; - STATE_FLAG_IS_GROUP - STATE_FLAG_IS_CHILD - STATE_FLAG_IS_EXPANDED - STATE_FLAG_IS_UPDATED
See Also