It is a simple app where Home page shows all photos from Unplace api and FullImage page shows particular image using MVVM architecture.
- Kotlin Multi Platform to Develop Apps for different platform like Android, Ios, Desktop, Web and MacOs.
- Kotlin for coding.
- Jetpack compose for UI development.
- Ktor client for API calls.
- MVVM architecture for better code reusability and management.
- Moko-Viewmodel for Viewmodel support in KMP.
- Navigation using PreCompose library.
- Android
- iOS (you need a Mac)
- Desktop
You need to add your Unsplash API key to run this app. So first create a free developer account on Unsplash and add this app key in the AppConstants.kt file.
Guidance article -> https://medium.com/@KaushalVasava/kotlin-multi-platform-project-setup-guide-340aae9b3bea
-
Kotlin Multi platform
-
Jetpack compose for UI development
-
PreCompose Navigation setup:
https://github.com/Tlaster/PreCompose/blob/master/docs/setup.md
-
Kamel Image loading
-
Ktor client for API
-
Moko ViewModel
KMP_API_HANDLING.2.mp4
If you like my work you can support me via :
Follow me on LinkedIn, GitHub, Twitter, Instagram, Medium and add this repo to your favorite and share with your friends and colleague. Happy coding 😊
Kaushal Vasava
Copyright 2023 Kaushal Vasava
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.