public static enum ProfileAvatarView.FallbackSettings extends Enum<ProfileAvatarView.FallbackSettings>
Enum to set the fallback settings of the avatar profile view, in case there isn’t an icon provided. The default is to render the first letter of the name. And if the name is empty, then to use the icon. Setting fallbackSettings to DefaultIcon will prefer to use the default icon instead of the first letter.
Enum Constant and Description |
---|
DefaultIcon |
FirstChar |
Modifier and Type | Method and Description |
---|---|
static ProfileAvatarView.FallbackSettings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileAvatarView.FallbackSettings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileAvatarView.FallbackSettings FirstChar
public static final ProfileAvatarView.FallbackSettings DefaultIcon
public static ProfileAvatarView.FallbackSettings[] values()
for (ProfileAvatarView.FallbackSettings c : ProfileAvatarView.FallbackSettings.values()) System.out.println(c);
public static ProfileAvatarView.FallbackSettings valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All Rights Reserved.