FloatingActionButton.OnVisibilityChangedListener

public static abstract class FloatingActionButton.OnVisibilityChangedListener
extends Object

java.lang.Object
   ↳ com.google.android.material.floatingactionbutton.FloatingActionButton.OnVisibilityChangedListener


Callback to be invoked when the visibility of a FloatingActionButton changes.

Summary

Public constructors

OnVisibilityChangedListener()

Public methods

void onHidden(FloatingActionButton fab)

Called when a FloatingActionButton has been hidden.

void onShown(FloatingActionButton fab)

Called when a FloatingActionButton has been shown.

Inherited methods

Public constructors

OnVisibilityChangedListener

public OnVisibilityChangedListener ()

Public methods

onHidden

public void onHidden (FloatingActionButton fab)

Called when a FloatingActionButton has been hidden.

Parameters
fab FloatingActionButton: the FloatingActionButton that was hidden.

onShown

public void onShown (FloatingActionButton fab)

Called when a FloatingActionButton has been shown.

Parameters
fab FloatingActionButton: the FloatingActionButton that was shown.