AppEmojisRegistry

Registry containing ApplicationEmoji, you can get one directly or using lazy property delegates.

Using these methods requires the caller class to be annotated with @AppEmojiContainer.

See also

Functions

Link copied to clipboard
operator fun get(fieldName: String): ApplicationEmoji

Returns the emoji loaded for the field named fieldName.

Link copied to clipboard
operator fun getValue(thisObj: Any, property: KProperty<*>): ApplicationEmoji

Returns the emoji loaded for the current property.

Link copied to clipboard
fun lazy(assetPattern: String, emojiName: String): Lazy<ApplicationEmoji>

Lazily retrieves an emoji named emojiName, created from the assetPattern found in the basePath of your class.

fun lazy(basePath: String, assetPattern: String, emojiName: String): Lazy<ApplicationEmoji>

Lazily retrieves an emoji named emojiName, created from the assetPattern found in the basePath.

fun lazy(baseline: KProperty<ApplicationEmoji>, basePath: String? = null, assetPattern: String? = null, emojiName: String? = null): Lazy<ApplicationEmoji>

Lazily retrieves an application emoji for the current property.