AutocompleteUiIcon

@Parcelize
public final class AutocompleteUiIcon implements Parcelable


Icon to be used in the autocomplete widget.

Summary

Public methods

static final @NonNull AutocompleteUiIcon

Constructs the list item icon with the default location on icon.

static final @NonNull AutocompleteUiIcon

Constructs the icon with no icon.

final int

Returns the resource id of the icon.

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(@NonNull Parcel p0, int p1)

Public methods

listItemDefaultIcon

public static final @NonNull AutocompleteUiIcon listItemDefaultIcon()

Constructs the list item icon with the default location on icon.

noIcon

public static final @NonNull AutocompleteUiIcon noIcon()

Constructs the icon with no icon.

resourceId

public final int resourceId()

Returns the resource id of the icon.