Simple Loader

Generates a SimpleLoader state machine for async data loading in Kotlin/Compose Multiplatform projects. Provides a sealed interface State with Initial/InitialLoading/InitialError/Loaded/RefreshLoading/RefreshError transitions, Factory, Logger, IllegalStateTransitionHandler, FakeSimpleLoader for testing, Compose UI helpers (View, AnimatedView), and WithPartialData for progress tracking during loading. Use when requested: "SimpleLoader を作って", "データ読み込みの状態管理を実装して", "ローディング状態を管理したい", "Loading/Error/Loaded の状態遷移", "非同期データ取得のステートマシン", "初回読み込みとリフレッシュを区別したローダー", "Compose でローディングのアニメーション遷移", "PartialData でプログレス表示". For Kotlin/KMP + Compose Multiplatform projects that need structured async data loading with state management.

tbsten de0b139 13 files · 42.4 KB Updated

File contents

tbsten/skills/tree/main/skills/simple-loader commit de0b1394c2

Frequently asked questions

npx skillmds@latest add tbsten/simple-loader