第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧

OnActionClickedListener

public interface OnActionClickedListener

androidx.leanback.widget.OnActionClickedListener


Interface for receiving notification when an Action is clicked.

Summary

Public methods

abstract void onActionClicked(Action action)

Callback fired when the host fragment receives an action.

Public methods

onActionClicked

public abstract void onActionClicked (Action action)

Callback fired when the host fragment receives an action.

Parameters
action Action