is there a way of bundling function references in Kotlin and Android so that the functions can be called from other fragments?
For instance, my fragment factory method look
If it is not possible to put a function literal into a Bundle, however, you can pass the function to the Fragment through a setter like function in the Fragment.
fun setTryAgainFunction(tryAgainFunction: () -> Unit) {
}