create
expect fun create(userData: Any? = null, callback: (evt: LvglEvent, userData: Any?) -> Unit): LvglEventCallback
Creates a new LvglEventCallback object.
Return
A new LvglEventCallback.
Parameters
user Data
User data to pass to the callback. Will be null if empty.
callback
The callback to use.