added in version 23.4.0
belongs to Maven artifact com.android.support:design:27.1.0

FloatingActionButton.OnVisibilityChangedListener

public static abstract class FloatingActionButton.OnVisibilityChangedListener
extends Object

java.lang.Object
   ↳ android.support.design.widget.FloatingActionButton.OnVisibilityChangedListener


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

Summary

Public constructors

FloatingActionButton.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

From class java.lang.Object

Public constructors

FloatingActionButton.OnVisibilityChangedListener

added in version 23.4.0
FloatingActionButton.OnVisibilityChangedListener ()

Public methods

onHidden

added in version 23.4.0
void onHidden (FloatingActionButton fab)

Called when a FloatingActionButton has been hidden.

Parameters
fab FloatingActionButton: the FloatingActionButton that was hidden.

onShown

added in version 23.4.0
void onShown (FloatingActionButton fab)

Called when a FloatingActionButton has been shown.

Parameters
fab FloatingActionButton: the FloatingActionButton that was shown.