attachView

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

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: View, index: Int)(source)

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: View)(source)

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

Parameters

child

Child to reattach