rebuildOnChange

fun <T : Any> rebuildOnChange(): ReadWriteProperty<Any?, T?>

Creates a delegate that recreates the controller when the value delegate's value changes. This is intended to be used for information that the controller depends on and cannot be changed within the controller itself.