public class

WrapperAdapterUtils

extends Object
java.lang.Object
   ↳ com.h6ah4i.android.widget.advrecyclerview.utils.WrapperAdapterUtils

Summary

Public Methods
static <T> T findWrappedAdapter(Adapter originAdapter, Class<T> clazz, int position)
static <T> T findWrappedAdapter(Adapter adapter, Class<T> clazz)
static Adapter releaseAll(Adapter adapter)
static int unwrapPosition(Adapter originAdapter, AdapterPathSegment targetAdapterPathSegment, int originPosition, AdapterPath destPath)
static int unwrapPosition(Adapter originAdapter, Adapter targetAdapter, Object targetAdapterTag, int originPosition, AdapterPath destPath)
static int unwrapPosition(Adapter originAdapter, int position)
static int unwrapPosition(Adapter originAdapter, Adapter targetAdapter, Object targetAdapterTag, int position)
static int unwrapPosition(Adapter originAdapter, Adapter targetAdapter, int position)
static int wrapPosition(AdapterPath path, int originSegmentIndex, int targetSegmentIndex, int position)
static int wrapPosition(AdapterPath path, Adapter originAdapter, Adapter targetAdapter, int position)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static T findWrappedAdapter (Adapter originAdapter, Class<T> clazz, int position)

public static T findWrappedAdapter (Adapter adapter, Class<T> clazz)

public static Adapter releaseAll (Adapter adapter)

public static int unwrapPosition (Adapter originAdapter, AdapterPathSegment targetAdapterPathSegment, int originPosition, AdapterPath destPath)

public static int unwrapPosition (Adapter originAdapter, Adapter targetAdapter, Object targetAdapterTag, int originPosition, AdapterPath destPath)

public static int unwrapPosition (Adapter originAdapter, int position)

public static int unwrapPosition (Adapter originAdapter, Adapter targetAdapter, Object targetAdapterTag, int position)

public static int unwrapPosition (Adapter originAdapter, Adapter targetAdapter, int position)

public static int wrapPosition (AdapterPath path, int originSegmentIndex, int targetSegmentIndex, int position)

public static int wrapPosition (AdapterPath path, Adapter originAdapter, Adapter targetAdapter, int position)