DSAppearanceDelegate

class DSAppearanceDelegate : DSBaseDelegate

DSAppearanceDelegate helps to customize the UI appearance

Constructors

Link copied to clipboard
fun DSAppearanceDelegate()

Functions

Link copied to clipboard
fun getDateFormat(context: Context): String?

Gets the date format

Link copied to clipboard
fun getTheme(): DSTheme

Gets the theme

Link copied to clipboard
fun setDateFormat(context: Context, dateFormat: String)

Sets the date format

Link copied to clipboard
fun setTheme(theme: DSTheme)

Sets the theme whether it is dark or light

Properties

Link copied to clipboard
var appearance: DSAppearance? = null