kotlin-flows
CommunityMaster Kotlin Flows for reactive programming.
Authorrcosteira79
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you effectively use Kotlin's Flow, StateFlow, and SharedFlow for building reactive and asynchronous applications, ensuring efficient data streaming and state management.
Core Features & Use Cases
- Flow Type Selection: Guides you in choosing between
Flow,StateFlow, andSharedFlowbased on your needs. - Operator Chains: Demonstrates how to use operators like
map,filter,flatMapLatest,combine, etc. - Callback Bridging: Shows how to convert callback-based APIs into Flows.
- Lifecycle-Safe Collection: Ensures flows are collected only when the UI is active.
- Error Handling & Testing: Provides strategies for robust error management and testing Flows.
- Use Case: You need to display a list of items that updates in real-time from a network source, and you want to ensure that UI updates are collected only when the screen is visible.
Quick Start
Use the kotlin-flows skill to create a StateFlow that emits the current user's name.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kotlin-flows Download link: https://github.com/rcosteira79/android-skills/archive/main.zip#kotlin-flows Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.