TaskDescriptionConfig

data class TaskDescriptionConfig(    @StringOrStringRes val title: Any,     @DrawableRes val icon: Int,     @ColorInt val color: Int)

Class for configuration of activity TaskDescription.

Parameters

title

Title for the task description, String or string resource ID.

icon

Icon to show (resource id), it must be a PNG image, if the resource id is a SVG, it will not be applied and the app icon will be shown.

color

Color-int for the background.

Constructors

Link copied to clipboard
fun TaskDescriptionConfig(    @StringOrStringRes title: Any,     @DrawableRes icon: Int,     @ColorInt color: Int)

Properties

Link copied to clipboard
val color: Int
Link copied to clipboard
val icon: Int
Link copied to clipboard
val title: Any