attachView

open fun attachView(@NonNull child: @NonNull View, index: Int, lp: RecyclerView.LayoutParams)

Reattach a previously detached view. This method should not be used to reattach views that were previously detachAndScrapView scrapped}.

Parameters

child

Child to reattach

index

Intended child index for child

lp

LayoutParams for child


open fun attachView(@NonNull child: @NonNull View, index: Int)

Reattach a previously detached view. This method should not be used to reattach views that were previously detachAndScrapView scrapped}.

Parameters

child

Child to reattach

index

Intended child index for child


open fun attachView(@NonNull child: @NonNull View)

Reattach a previously detached view. This method should not be used to reattach views that were previously detachAndScrapView scrapped}.

Parameters

child

Child to reattach