-
Some operations like deleting and writing the local database do not need a return of flow since they are "one-time" operations. For reading the database, it would be okay since the flows would notify …
-
https://www.reddit.com/r/androiddev/comments/ph9iqs/livedata_vs_kotlin_flows/
先週[似たような内容の記事を紹介](https://github.com/AndroidDagashi/AndroidDagashi/issues/2053)しましたが、redditでまた話題になっていました
-
Approach Kotlin Flows in replace to Livedata
Hot Flows vs Cold Flows
StateFlows ShareFlows
-
### Expected Behavior
I have a class annotated with `@Controller` and my method return `Flow` as response. Inside the method I have to call another suspending function, because e.g. I want to fetch…
-
The Media3 library is written in Java and thus has APIs that are easy to consume from Java code, but harder to work with in a Kotlin codebase. Developers using Kotlin should be able to use Kotlin conc…
-
I noticed while running FlowDroid that it loses or drops the taint if some Kotlin methods are encountered. Below I provided a simplified example with comments from which sources to which sinks it find…
-
- Q: Explain the concept of coroutine channels in Kotlin.
- Q: Explain the role of the asFlow extension function in Kotlin Coroutines.
- Q: What is the purpose of the StateFlow in Kotlin Coroutines?…
-
### Is your feature request related to a problem? Please describe.
Migrate codebase to jetpack compose.
[Jetpack Compose](https://developer.android.com/develop/ui/compose) is the modern toolkit for…
-
Currently, the project includes RxJava, LiveData, and Kotlin Flows (via Coroutines). Having 3 of these is redundant, and only adds to the app size.
I'd recommend sticking with Kotlin Flows, and remov…
-
https://github.com/corda/cordapp-template-kotlin/blob/36d4f3e3b7a77160966be32cc82fcf8c078e2cf1/workflows/src/main/kotlin/com/template/flows/ExampleFlowWithEvolvableToken.kt#L43