I have this:
private var eventListener: (() -> Unit)? = null
what is the shorter way to invoke the eventListener other than below?
eventListener?.invoke()
Thank you.
I have this:
private var eventListener: (() -> Unit)? = null
what is the shorter way to invoke the eventListener other than below?
eventListener?.invoke()
Thank you.
It is shortest.