https://kotlinlang.org logo
j

Jonathan

03/11/2018, 11:13 AM
If you use coroutines, why using callback? The whole point of coroutines, is to not have to deal with callback anymore. Using suspending function would makes the code easier to test and to use.