Kinetic is A games details App Built with Jetpack Compose using the Rawg API. The app follows mvvm clean architecture design pattern
Replace the api key in the constants object with your own key from Rawg
const val API_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
- Kotlin - Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise
- Jetpack Components:
- Jetpack Compose - Android’s modern toolkit for building native UI. It simplifies and accelerates UI development on Android
- View Model- store and manage UI-related data in a lifecycle conscious way.
- Lifecycle - Perform actions in response to a change in the lifecycle status of another component, such as activities and fragments.
- Android KTX - Android KTX is a set of Kotlin extensions that are included with Android Jetpack and other Android libraries. KTX extensions provide concise, idiomatic Kotlin to Jetpack, Android platform, and other APIs.
- Ktor- Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up.
-
Dagger-Hilt- a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project
-
Coroutines - a concurrency design pattern that you can use on Android to simplify code that executes asynchronously
-
Flow- In coroutines, a flow is a type that can emit multiple values sequentially, as opposed to suspend functions that return only a single value.
-
Coil - Image Loader library.
-
Lottie - Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!
This application fetches its data from the Rawg. Find the Documentation by following this link.
Benjamin Muthui
MIT License
Copyright (c) 2023 Benjamin Muthui
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.