• Stars
    star
    689
  • Rank 63,132 (Top 2 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created about 3 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Compose Multiplatform Navigation && State Management

PreCompose

Maven Central compose-jb-version license

badge-Android badge-iOS badge-JVM badge-macOS badge-web

Compose Multiplatform Navigation && ViewModel, inspired by Jetpack Lifecycle, ViewModel, LiveData and Navigation, 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.

Setup

Setup guide for PreCompose

Components

Sample

Credits

Thanks Jetbrains for supporting open source software

JetBrains Logo (Main) logo.

LICENSE

MIT License

Copyright (c) 2021 Tlaster

Permission is hereby granted, free of charge, to any person obtaining a copy
of 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, and to 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 in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

More Repositories

1

YourAV

宇宙级最轻量杀毒软件
C#
1,487
star
2

ehdb

800K ExHentai gallery's metadata
551
star
3

iHentai

E-Hentai(or others like nhentai) Reader&Downloader for UWP
C#
89
star
4

Zoomable

Easy zoom in and out with drag support for Jetpack Compose
Kotlin
79
star
5

NestedScrollView

NestedScrollView for Jetpack Compose
Kotlin
69
star
6

OneEchan

An application to watch anime. Or a solution to build up an online anime website
C#
43
star
7

WeiPo

[WIP] Social network client.
C#
33
star
8

android-sign

TypeScript
30
star
9

exback

Today we retake our homeworld. And with it, our legacy.
JavaScript
27
star
10

SafeArea

SafeArea for Compose multiplatform
Kotlin
24
star
11

ProjectAsahi

Original galgame engine for windows 10
C++
17
star
12

Cosimg

E-Hentai Application for Windows Phone & WIndows 8
C#
15
star
13

Fuck-Master-Up

Rename all "master" to "slave"
Shell
12
star
14

KotlinPGP

Kotlin library for OpenPGP using bouncycastle
Kotlin
11
star
15

Josou

女装
10
star
16

Swiper

Swipe to dismiss in Jetpack Compose
Kotlin
9
star
17

Placeholder

Let you have Placeholder in Jetpack Compose
Kotlin
8
star
18

Tuuto

Yet another Mastodon client for Windows 10
C#
8
star
19

ktml

[WIP] HTML parser for Kotlin Multiplatform
Kotlin
7
star
20

KFilePicker

Kotlin
6
star
21

KRoute

Kotlin
6
star
22

Mastodon.Net

.Net wrapper for Mastodon Api
C#
6
star
23

Dixiv

区块链轻博客社交网络平台
TypeScript
5
star
24

twitter-parser

A Kotlin multiplatform library to parse Twitter text
Kotlin
5
star
25

MediaQuery

MediaQuery for Compose Multiplatform
Kotlin
4
star
26

Hson

Kotlin
3
star
27

compose-ios-bootstrap

Kotlin
3
star
28

FluentExplorer

C#
3
star
29

BorderlessGaming.Next

C#
3
star
30

YAHM

Yet Another Hardware Monitor
C#
3
star
31

mfm-multiplatform

An MFM parser implementation with Kotlin Multiplatform
Kotlin
2
star
32

accompanist-mp

Kotlin
2
star
33

VuesaxIcons

Kotlin
2
star
34

Futania

Kotlin
2
star
35

BUG10

Better UWP GUI
C#
2
star
36

VRCTools

[WIP] VRChat Creator Companion (VCC) alternative but open-sourced
C#
2
star
37

DanMacross

Another cross-platform Danmaku player base on Xamarin
C#
2
star
38

kotlin-rust-interop

Kotlin
2
star
39

auto-merger

TypeScript
2
star
40

RockChat

C#
2
star
41

Html2Model

C#
1
star
42

Tab

TabControl for UWP
C#
1
star
43

NineGridImageView

NineGridImageView for Windows10/UWP
C#
1
star
44

PagingEx

Better frame navigation for UWP
C#
1
star
45

FloatingHover

Floating hover like google translate "Tap to translate"
Kotlin
1
star
46

AnimateTorrentConsole

Automatically download animate raws from leopard-raws
C#
1
star
47

actions-labeler

TypeScript
1
star