registerAfterChangeUpdateListener

fun registerAfterChangeUpdateListener(onValueUpdateListener: (isSelected: Boolean) -> Unit): DisposableHandle(source)

Registers a listener to be notified after the selection state changes.

Return

A DisposableHandle that can be used to unregister the listener.

Parameters

onValueUpdateListener

A callback that will be invoked with the new selection state after the change has occurred.