#kotlinflow Suchergebnisse
#Flotlin🌊15 - Cancellation - Flow collection can be cancelled❌. - Here in this example, we've used `withTimeoutOrNull()` which will cancel coroutine after the specified timeout⏱️. Try it here: pl.kotl.in/YIDhuwwY1 #Kotlin #KotlinFlow
#Flotlin🌊15 - transformWhile - Operator generalizes `takeWhile`. - Applies a function to each value until predicate returns true. For e.g. Continue while the download is not done on upstream flow. #Kotlin #KotlinFlow #Reactive @kotlin See below Snippet example:
Unit test the new Kotlin coroutine StateFlow stackoverflow.com/questions/6211… #kotlin #kotlinflow #androidviewmodel #android #kotlincoroutines
Combine multiple Kotlin flows in a list without waiting for a first value stackoverflow.com/questions/6118… #kotlincoroutines #kotlin #kotlinflow
Kotlin Flow - is there anything similar to LiveData's emitSource? stackoverflow.com/questions/6802… #androidlivedata #kotlinflow #android #kotlin
How can I test a Kotlin flow builder with delay() calls? stackoverflow.com/questions/7224… #kotlin #kotlinflow #turbine
How to observe ContentProvider changes for coroutine flow stackoverflow.com/questions/6777… #kotlinflow #kotlin #androidcontentprovider #kotlincoroutines #android
#Flotlin🌊 12 - `zip()` - Zips value of current flow with other flow. - Combines the values emitted by each flow. Try it here⌨️: play.kotlinlang.org/embed?short=P4… #Kotlin #KotlinFlow #Flow
Not sure how to convert a Cursor to this method's return type in Room Android? stackoverflow.com/questions/6810… #kotlinflow #androidroom #android
Kotlin flow - emitting value of combined 2 flows only when second flow emits a value stackoverflow.com/questions/7228… #kotlinflow #kotlin #android
#Flotlin🌊13 - `callbackFlow{}` - It allows elements to be produced by code that is running in a different context or concurrently. - It's useful when you're using listener which is an asynchronous operation. Try it here⌨️: play.kotlinlang.org/embed?short=mY… #Kotlin #KotlinFlow #Reactive
#Flotlin 2 - `map` - `map` operator can be used on the upstream flow. - It returns a downstream flow for further operations. Try it here ⌨️: (Kotlin Playground) pl.kotl.in/-EaVmBx8L?them… #Kotlin #KotlinFlow
#Flotlin 1 What is Flow?🤔 👉 A cold asynchronous data stream that sequentially emits values and completes normally or with an exception. See this example: pl.kotl.in/IPQaFgRTC?them… #Kotlin #KotlinFlow
#Flotlin 6 - Exception Transparency - Never wrap `emit()` with try and catch. - Exception caused due to upstream flow can be handled using catch operator. Try it here⌨️: play.kotlinlang.org/embed?short=b8… #Kotlin #KotlinFlow
#Flotlin 3 - `filter` - Similar to the collection's operator. - Performs the operation on upstream flow. - Returns a downstream flow containing only values of the original flow that matches the given predicate. Try it here ⌨️: play.kotlinlang.org/embed?short=fP… #Kotlin #KotlinFlow
Master #KotlinFlow cancellation — learn smart techniques to stop long-running flows without wasting resources 💻 droidcon.com/2025/08/04/can…
droidcon.com
Cancellable Flows in Kotlin Coroutines: The Complete Guide to Flow Cancellation Techniques
Today we’re diving deep into one of the most crucial aspects of Kotlin Flows — cancellation. If you’ve been working with flows, you’ve probably faced scenarios where you needed to stop a long-running...
Struggling with fast data overwhelming your #app? Learn how #KotlinFlow handles backpressure with buffer(), conflate(), & collectLatest 📲 droidcon.com/2025/07/02/how…
Combining #FirebaseRemoteConfig, #KotlinFlow, & #JetpackCompose for feature flags & #UI components in #Android 🔥🚀 By @canerkaseler droidcon.com/2025/01/21/and…
Koltin Flow 💡 𝒁𝒊𝒑 𝒐𝒑𝒆𝒓𝒂𝒕𝒐𝒓 - It is mainly used to run 𝒕𝒘𝒐 𝒕𝒂𝒔𝒌𝒔 𝒊𝒏 𝒑𝒂𝒓𝒂𝒍𝒍𝒆𝒍 and return the result of both tasks in a single callback when both tasks get completed. #kotlin #kotlinflow #android #kotlintips
#LiveData doesn't support operations like map, flatMap, and other transformation functions available in Kotlin Flow. Unlike LiveData, #KotlinFlow is not lifecycle-aware out of the box. Developers need to manage subscriptions and cancellations explicitly.
#LiveData synchronous by nature, meaning it emits data synchronously and can't be suspended. #KotlinFlow is built on top of coroutines, which means it can seamlessly integrate with other coroutine-based code in your application.
#LiveData lifecycle-aware, meaning it respects the lifecycle of #Androidcomponents (like activities and fragments) and only updates observers that are in an active lifecycle state. #KotlinFlow not specifically tied to Android and can be used in any #Kotlin codebase.
#LiveData is part of the #AndroidArchitecture Components library and is designed to hold observable data. #KotlinFlow is part of the #KotlinCoroutines library and provides a stream of values that can be asynchronously computed.
Selecting Your Data Stream Strategy #LiveData or #KotlinFlow? #AndroidDev #AsynchronousProgramming
Dive into the world of reactive programming in Android! 🚀 Learn when to choose #KotlinFlow and when to opt for #RxJava for your next app. #AndroidDev #ReactiveProgramming link.medium.com/TmIqtoQtyEb
link.medium.com
Choosing the Right Stream: Kotlin Flow vs. RxJava in Android Development
In the world of Android app development, reactive programming has become a game-changer. It’s all about handling data streams and events…
Learn how Kotlin Flow simplifies managing concurrency, parallelism, and asynchronous tasks in Android apps. #AndroidDevelopment #KotlinFlow #Concurrency #Parallelism #AsyncTasks link.medium.com/6J2OLU2usEb
Discover the power of StateFlow and SharedFlow in Android development – simplifying state management and data sharing. #AndroidDev #KotlinFlow #StateFlow #SharedFlow link.medium.com/wNUM9dTHrEb
link.medium.com
Unboxing StateFlow and SharedFlow: Simplifying State Management and Data Sharing in Android
Kotlin Flow has become a game-changer in modern Android app development for handling asynchronous data streams. It offers a straightforward…
Dive into the world of Kotlin Flow with key operators and transformations. Learn to craft responsive and efficient apps effortlessly. #KotlinFlow #ReactiveProgramming #AndroidDev #CodingExplained 🚀📱link.medium.com/UQOWjNoCmEb
Unlock the secrets of effective error handling in Kotlin Flow with this comprehensive guide. Master Flow operators and techniques to build resilient Android apps. #KotlinFlow #AndroidDev #ErrorHandling #CodeResilience 🚀📱🧯link.medium.com/Z3mU3w1AmEb
link.medium.com
Mastering Error Handling in Kotlin Flow: A Comprehensive Guide with Code Examples
Handling exceptions and errors is a critical aspect of any robust Android application. When working with Kotlin Flow, it’s essential to…
Unit test the new Kotlin coroutine StateFlow stackoverflow.com/questions/6211… #kotlin #kotlinflow #androidviewmodel #android #kotlincoroutines
#Flotlin🌊15 - transformWhile - Operator generalizes `takeWhile`. - Applies a function to each value until predicate returns true. For e.g. Continue while the download is not done on upstream flow. #Kotlin #KotlinFlow #Reactive @kotlin See below Snippet example:
How can I test a Kotlin flow builder with delay() calls? stackoverflow.com/questions/7224… #kotlin #kotlinflow #turbine
Kotlin Flow - is there anything similar to LiveData's emitSource? stackoverflow.com/questions/6802… #androidlivedata #kotlinflow #android #kotlin
#Flotlin🌊15 - Cancellation - Flow collection can be cancelled❌. - Here in this example, we've used `withTimeoutOrNull()` which will cancel coroutine after the specified timeout⏱️. Try it here: pl.kotl.in/YIDhuwwY1 #Kotlin #KotlinFlow
Combine multiple Kotlin flows in a list without waiting for a first value stackoverflow.com/questions/6118… #kotlincoroutines #kotlin #kotlinflow
How to observe ContentProvider changes for coroutine flow stackoverflow.com/questions/6777… #kotlinflow #kotlin #androidcontentprovider #kotlincoroutines #android
Not sure how to convert a Cursor to this method's return type in Room Android? stackoverflow.com/questions/6810… #kotlinflow #androidroom #android
Kotlin flow - emitting value of combined 2 flows only when second flow emits a value stackoverflow.com/questions/7228… #kotlinflow #kotlin #android
#Flotlin🌊 12 - `zip()` - Zips value of current flow with other flow. - Combines the values emitted by each flow. Try it here⌨️: play.kotlinlang.org/embed?short=P4… #Kotlin #KotlinFlow #Flow
#Flotlin 5 - flowOf() - Creates a flow that produces values from specified arguments. e.g. `flowOf(1, 2, 3)` Try it here⌨️: pl.kotl.in/eeNLeMRT- #Kotlin #KotlinFlow
#Flotlin 2 - `map` - `map` operator can be used on the upstream flow. - It returns a downstream flow for further operations. Try it here ⌨️: (Kotlin Playground) pl.kotl.in/-EaVmBx8L?them… #Kotlin #KotlinFlow
#Flotlin🌊13 - `callbackFlow{}` - It allows elements to be produced by code that is running in a different context or concurrently. - It's useful when you're using listener which is an asynchronous operation. Try it here⌨️: play.kotlinlang.org/embed?short=mY… #Kotlin #KotlinFlow #Reactive
#Flotlin 1 What is Flow?🤔 👉 A cold asynchronous data stream that sequentially emits values and completes normally or with an exception. See this example: pl.kotl.in/IPQaFgRTC?them… #Kotlin #KotlinFlow
#Flotlin 6 - Exception Transparency - Never wrap `emit()` with try and catch. - Exception caused due to upstream flow can be handled using catch operator. Try it here⌨️: play.kotlinlang.org/embed?short=b8… #Kotlin #KotlinFlow
#Flotlin 8 - `collectIndexed()` - An operator which collects the given flow with the index of an element. - In short, 1st emit -> 0, 2nd emit ->1 and so on.. Try it here⌨️: play.kotlinlang.org/embed?short=aJ… #Kotlin #KotlinFlow #Flow
Something went wrong.
Something went wrong.
United States Trends
- 1. Good Thursday 23.7K posts
- 2. Happy Friday Eve N/A
- 3. #Talus_Labs N/A
- 4. #thursdayvibes 1,795 posts
- 5. Luka 72K posts
- 6. Lakers 82.2K posts
- 7. #River 4,329 posts
- 8. Wemby 27.8K posts
- 9. Marcus Smart 6,534 posts
- 10. Unplanned 5,996 posts
- 11. #LakeShow 5,872 posts
- 12. #AmphoreusStamp 7,674 posts
- 13. Vatican 10.6K posts
- 14. Blazers 9,436 posts
- 15. Captain Kangaroo 1,199 posts
- 16. Russ 11.5K posts
- 17. Richard 45.8K posts
- 18. Shroud 5,751 posts
- 19. Ayton 17.5K posts
- 20. Shabbat 7,010 posts