Márton Braun

Results 13 comments of Márton Braun

Looking at the impl of `eventFlow`: ``` public val Lifecycle.eventFlow: Flow get() = callbackFlow { val observer = LifecycleEventObserver { _, event -> trySend(event) }.also { addObserver(it) } awaitClose {...

Unfortunately there is a good reason. `typeOf` can handle nested types being input as the `T` type parameter (such as `List`), while `::class.java` would erase that to just the `List`...

This is gonna be added to Retrofit, therefore I don't think this library will be updated. See the PR for that here: https://github.com/square/retrofit/pull/2886