Home

Awesome

BikeShare

kotlin-version

Jetpack Compose and SwiftUI based Kotlin Multiplatform sample project (based on CityBikes API).

Running on

Related posts:

<img width="668" alt="Screenshot 2022-12-24 at 15 16 22" src="https://user-images.githubusercontent.com/6302/209442335-862ecb89-8b22-454c-b7a8-d10dcd4deeda.png">

BikeShare Screenshot

<img width="1426" alt="Screenshot 2023-12-02 at 15 01 25" src="https://github.com/joreilly/BikeShare/assets/6302/3e3092cd-261f-49a9-a0b3-bb6631a9d119"> <img width="1293" alt="Screenshot 2023-12-02 at 14 10 34" src="https://github.com/joreilly/BikeShare/assets/6302/db821735-a8eb-4865-8723-4a6bb2de1f9f">

Building

Need to use at least Android Studio Arctic Fox to build/run the Android client.

Requires Xcode 13.2 or later (due to use of new Swift 5.5 concurrency APIs). When opening iOS project remember to open .xcworkspace file (and not .xcodeproj one)

Compose for Desktop client

This client is available in compose-desktop module. Note that you need to use appropriate version of JVM when running (works for example with Java 11)

Note that this makes use of https://github.com/Shusshu/android-flags for flag images shown.

Full set of Kotlin Multiplatform/Compose/SwiftUI samples