onInvalidateContents

open fun onInvalidateContents(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: () -> Unit): <Error class: unknown class>(source)

Emitted when the contents of the @paintable change.

Examples for such an event would be videos changing to the next frame or the icon theme for an icon changing.

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect