kmp-presentation

Community

KMP presentation patterns for lifecycle ViewModels

Authorniltsiar
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Kotlin Multiplatform presentation patterns help teams build lifecycle-aware ViewModels and robust UI state management across Android, iOS, Desktop, and Server.

Core Features & Use Cases

  • Standardized ViewModel lifecycle handling with onStart and DefaultLifecycleObserver.
  • UiStateHolder pattern for clean UI state and event separation.
  • SavedStateHandle persistence to survive configuration changes and process death.
  • One-time events via EventChannel for navigation and transient UI actions.

Quick Start

Create a new ViewModel using the onStart lifecycle hook and wire it to a SavedStateHandle.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: kmp-presentation
Download link: https://github.com/niltsiar/kotlin_multiplatform_pokedex/archive/main.zip#kmp-presentation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.