The Developer Preview for Android 11 is now available; test it out and share your feedback.

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