src/main/java/ru/mail/dondokidon/extensions/PagerAdapterHandler.java
/**
     * Create {@link PagerAdapterHandler} instance and attach it to target Object
     *
     * @param target Object that will use {@link PagerAdapterHandler} features.
     * @param isCycled Is returned {@link PagerAdapterHandler} should see data as cycled or not
     * @param <T> Class that implements {@link PagerAdapterHandler.Target}
     * @param <IH> Class that extends {@link PagerAdapterHandler.ItemHolder}
     * @return {@link PagerAdapterHandler} instance, attached to target Object
     */
Create  PagerAdapterHandler instance and attach it to target Object
@param target Object that will use  PagerAdapterHandler features.
@param isCycled Is returned  PagerAdapterHandler should see data as cycled or not
@param  Class that implements  PagerAdapterHandler.Target
@param  Class that extends  PagerAdapterHandler.ItemHolder
@return  PagerAdapterHandler instance, attached to target Object
Create PagerAdapterHandler instance and attach it to target Object @param target Object that will use PagerAdapterHandler features . @param isCycled Is returned PagerAdapterHandler should see data as cycled or not @param Class that implements PagerAdapterHandler . Target @param Class that extends PagerAdapterHandler . ItemHolder @return PagerAdapterHandler instance attached to target Object
public static <T extends PagerAdapterHandler.Target, IH extends ItemHolder<?>> PagerAdapterHandler<T, IH> attachTo(
            @NonNull T target, boolean isCycled){
        PagerAdapterHandler<T, IH> ret = attachTo(target);
        ret.setCycled(isCycled);
        return ret;
    }
public static < T extends PagerAdapterHandler . Target , IH extends ItemHolder < ? > > PagerAdapterHandler < T , IH > attachTo ( @ NonNull T target , boolean isCycled ) { PagerAdapterHandler < T , IH > ret = attachTo ( target ) ; ret . setCycled ( isCycled ) ; return ret ; }
Create {@link PagerAdapterHandler} instance and attach it to target Object
 @param target Object that will use {@link PagerAdapterHandler} features.
Create { @link PagerAdapterHandler } instance and attach it to target Object @param target Object that will use { @link PagerAdapterHandler } features .