Google 致力于为黑人社区推动种族平等。查看具体举措

OnLayoutCompletedListener

interface OnLayoutCompletedListener
androidx.leanback.widget.BaseGridView.OnLayoutCompletedListener

Interface for receiving notification when BaseGridView has completed a full layout calculation.

Summary

Public methods
abstract Unit

Called after a full layout calculation is finished.

Public methods

onLayoutCompleted

abstract fun onLayoutCompleted(@NonNull state: RecyclerView.State): Unit

Called after a full layout calculation is finished.

Parameters
state RecyclerView.State: Transient state of RecyclerView