Register now for Android Dev Summit 2019!

AlphaJumpBucketer

open class AlphaJumpBucketer
kotlin.Any
   ↳ androidx.car.widget.AlphaJumpBucketer

A helper class for building the list of buckets for alpha jump.

Summary

Nested classes

open

A basic implementation of AlphaJumpBucket.

Public constructors

Public methods

open MutableList<AlphaJumpBucket!>!

Creates a list of AlphaJumpBuckets from the given list of strings.

open MutableList<AlphaJumpBucket!>!

Creates a list of AlphaJumpBuckets from the given iterable collection of strings.

open MutableList<AlphaJumpBucket!>!

Creates a list of AlphaJumpBuckets from the given enumeration of values.

Public constructors

<init>

AlphaJumpBucketer()

<init>

AlphaJumpBucketer(buckets: Array<AlphaJumpBucketer.Bucket!>!)

Public methods

createBuckets

open fun createBuckets(values: Array<String!>!): MutableList<AlphaJumpBucket!>!

Creates a list of AlphaJumpBuckets from the given list of strings.

createBuckets

open fun createBuckets(values: MutableIterable<String!>!): MutableList<AlphaJumpBucket!>!

Creates a list of AlphaJumpBuckets from the given iterable collection of strings.

createBuckets

open fun createBuckets(values: MutableIterator<String!>!): MutableList<AlphaJumpBucket!>!

Creates a list of AlphaJumpBuckets from the given enumeration of values.