<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/android-jetpack-viewmodel-has-kmp-support--xib9qshov" -->

---
title: Android Jetpack ViewModel has KMP Support! | daily.dev
description: The lifecycle-viewmodel artifact (version 2.8.0-alpha03) now officially supports Kotlin Multiplatform (KMP), allowing ViewModel, ViewModelStore,...
canonical: https://daily.dev/posts/android-jetpack-viewmodel-has-kmp-support--xib9qshov
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Android Jetpack ViewModel has KMP Support! | daily.dev
og:description: The lifecycle-viewmodel artifact (version 2.8.0-alpha03) now officially supports Kotlin Multiplatform (KMP), allowing ViewModel, ViewModelStore,...
og:url: https://daily.dev/posts/android-jetpack-viewmodel-has-kmp-support--xib9qshov
og:image: https://api.daily.dev/og/posts/xib9qSHOv.png
og:image:alt: Android Jetpack ViewModel has KMP Support!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Android Jetpack ViewModel has KMP Support!

**[Touchlab](https://daily.dev/sources/touchlab)** · 2 min read · 0 upvotes · 0 comments

## Summary

The lifecycle-viewmodel artifact (version 2.8.0-alpha03) now officially supports Kotlin Multiplatform (KMP), allowing ViewModel, ViewModelStore, ViewModelStoreOwner, and ViewModelProvider to be used in common code. Previously, sharing ViewModel logic across platforms required abstractions or expect/actual classes. The update also includes viewModelScope for coroutine support. A known conflict with Jetpack Compose's bundled ViewModel can be resolved by excluding the lifecycle-viewmodel-ktx dependency from activity-compose.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://touchlab.co/kmp-viewmodel>

## Similar posts on daily.dev

- [KMP Architecture: The Case for Pure Kotlin ViewModels](https://daily.dev/posts/kmp-architecture-the-case-for-pure-kotlin-viewmodels-2xnkadg3i) · ProAndroidDev · 1 upvotes · 0 comments
- [Why we love multiplatform with Kotlin and Compose](https://daily.dev/posts/why-we-love-multiplatform-with-kotlin-and-compose-ygw5twyaa) · Q42 Engineering · 0 upvotes · 0 comments
- [Kotlin Weekly \#498](https://daily.dev/posts/kotlin-weekly-498-yydicmxue) · Kotlin Weekly · 0 upvotes · 0 comments
- [A New Default Project Structure for Kotlin Multiplatform](https://daily.dev/posts/a-new-default-project-structure-for-kotlin-multiplatform-uwzzahmvv) · JetBrains · 2 upvotes · 0 comments

---

Tags: [#kotlin](https://daily.dev/tags/kotlin)

[View this post on daily.dev](https://daily.dev/posts/android-jetpack-viewmodel-has-kmp-support--xib9qshov)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Android Jetpack ViewModel has KMP Support!","url":"https://daily.dev/posts/android-jetpack-viewmodel-has-kmp-support--xib9qshov","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/android-jetpack-viewmodel-has-kmp-support--xib9qshov"},"datePublished":"2026-08-02T07:15:14.012Z","dateModified":"2026-08-02T07:35:44.632Z","description":"The lifecycle-viewmodel artifact (version 2.8.0-alpha03) now officially supports Kotlin Multiplatform (KMP), allowing ViewModel, ViewModelStore,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4e5db843f28991b52126e1b571a877c3?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4e5db843f28991b52126e1b571a877c3?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Touchlab","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Touchlab","logo":"https://media.daily.dev/image/upload/s--CQ0u6GwB--/f_auto,q_auto/v1785654902/logos/touchlab?_a=BAMAMicg0","url":"https://daily.dev/sources/touchlab"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/android-jetpack-viewmodel-has-kmp-support--xib9qshov","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kotlin","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Touchlab","item":"https://daily.dev/sources/touchlab"},{"@type":"ListItem","position":3,"name":"Android Jetpack ViewModel has KMP Support!"}]}
```

