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

VisibilityListener

interface VisibilityListener
androidx.core.view.ActionProvider.VisibilityListener

Listens to changes in visibility as reported by ActionProvider#refreshVisibility().

Summary

Public methods
abstract Unit

Public methods

onActionProviderVisibilityChanged

abstract fun onActionProviderVisibilityChanged(isVisible: Boolean): Unit