Most visited

Recently visited

FloatingActionButton.OnVisibilityChangedListener

public static abstract class FloatingActionButton.OnVisibilityChangedListener
extends Object

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


当FloatingActionButton的可见性更改时调用回调。

Summary

Public constructors

FloatingActionButton.OnVisibilityChangedListener()

Public methods

void onHidden(FloatingActionButton fab)

当FloatingActionButton已被 hidden调用时调用。

void onShown(FloatingActionButton fab)

当FloatingActionButton已被 shown调用时调用。

Inherited methods

From class java.lang.Object

Public constructors

FloatingActionButton.OnVisibilityChangedListener

FloatingActionButton.OnVisibilityChangedListener ()

Public methods

onHidden

void onHidden (FloatingActionButton fab)

当FloatingActionButton已被 hidden调用时调用。

Parameters
fab FloatingActionButton: the FloatingActionButton that was hidden.

onShown

void onShown (FloatingActionButton fab)

当FloatingActionButton已被 shown调用时调用。

Parameters
fab FloatingActionButton: the FloatingActionButton that was shown.

Hooray!