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

OnAutofillListener

interface OnAutofillListener
androidx.leanback.widget.GuidedActionAutofillSupport.OnAutofillListener

Listener for autofill event. Leanback will set the Listener on the custom view.

Summary

Public methods

abstract Unit
onAutofill(view: View!)

Custom view should call this method when autofill event happened.

Public methods

onAutofill

abstract fun onAutofill(view: View!): Unit

Custom view should call this method when autofill event happened.

Parameters
view View!: The view where autofill happened.