Google 致力于为黑人社区推动种族平等。查看具体举措


open class PinPicker : Picker
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.FrameLayout
   ↳ androidx.leanback.widget.picker.Picker
   ↳ androidx.leanback.widget.picker.PinPicker

Picker subclass for allowing the user to enter a numerical PIN. The column count can be customized, and defaults to 4. R.attr#columnCount


Public constructors
<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods
open Boolean

open String!

Returns the PIN that the user has entered.

open Boolean

open Unit

Resets all columns and selects the first one.

open Unit

Sets the number of columns for entering the PIN.

Inherited functions