Most visited

Recently visited

SwipeDismissBehavior.OnDismissListener

public static interface SwipeDismissBehavior.OnDismissListener

android.support.design.widget.SwipeDismissBehavior.OnDismissListener


用于通知应用程序视图已被解除的回调接口。

Summary

Public methods

abstract void onDismiss(View view)

被称为 view通过刷卡被解雇。

abstract void onDragStateChanged(int state)

拖动状态改变时调用。

Public methods

onDismiss

void onDismiss (View view)

被称为 view通过刷卡被解雇。

Parameters
view View

onDragStateChanged

void onDragStateChanged (int state)

拖动状态改变时调用。

Parameters
state int: the new state. One of STATE_IDLE, STATE_DRAGGING or STATE_SETTLING.

Hooray!