Simplifies cross-platform app development by offering navigation, ViewModel, and lifecycle management inspired by Jetpack components. Supports writing common business logic and UI code with easy setup and Molecule integration.
Compose Multiplatform Navigation && ViewModel, inspired by Jetpack Navigation, ViewModel and Lifecycle, PreCompose provides similar (or even the same) components for you but in Kotlin, and it's Kotlin Multiplatform project.
Why PreCompose
Write your business logic and UI code once in one commonMain, and your application can be anywhere, powered by Kotlin and Compose!
If you familiar with Jetpack Lifecycle, ViewModel and Navigation, there will be nothing to learn.
Super easy to set up.
No need to write platform-specific code and UI.
Lifecycle is handled by PreCompose, you don't need to worry about it.
With Molecule integration, you can easily write your business logic in Kotlin Multiplatform project.
MIT License
Copyright (c) 2021 Tlaster
Permission is hereby granted, freeof charge, toany person obtaining a copyof this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, andto permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included inall
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OFANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. INNO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FORANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUTOFORIN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Related libraries
Surfaced from shared tags and platforms — no rankings paid for.