https://github.com/darrylbayliss/justreadtheinstructions
A SpaceX app written for Android 12 using Jetpack Compose
https://github.com/darrylbayliss/justreadtheinstructions
android android12 clean-architecture coil coroutines jetpack-compose
Last synced: about 2 months ago
JSON representation
A SpaceX app written for Android 12 using Jetpack Compose
- Host: GitHub
- URL: https://github.com/darrylbayliss/justreadtheinstructions
- Owner: DarrylBayliss
- Created: 2021-09-19T14:02:59.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-30T15:17:24.000Z (almost 4 years ago)
- Last Synced: 2024-12-27T06:11:22.130Z (10 months ago)
- Topics: android, android12, clean-architecture, coil, coroutines, jetpack-compose
- Language: Kotlin
- Homepage:
- Size: 257 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Just Read The Instructions
An app showing rocket launches using the [SpaceX REST Api](https://github.com/r-spacex/SpaceX-API).
Written for Android 12 using Jetpack Compose.
# Commentry
The app uses clean architecture, with the packages organised like so:
- data
- di
- domain
- presentation
- usecase
The two screens in the app are **MainActivity.kt** and **LaunchDetailActivity.kt**. MainActivity.kt has a corresponding **ViewModel**, responsible for populating the screens with data.
**MainActivity.kt** shows a listview of rockets, queried from the network.
Tapping a rocket in the list will transition the app to the **LaunchDetailActivity.kt** screen.
**LaunchDetailActivity.kt** shows particular information about a rocket. The data is passed in from **MainActivity.kt** via a launch object intent.
# Dependencies
The following dependencies were added to the app:
Coil (Jetpack compose image loading)
Retrofit / okhttp (Networking)
Moshi (Json serialisation / deserialisation)
Hilt (Dependency Injection)
Android X Splash Screen API
# Icon Logo
The App Icon is made by [Freepik](https://www.freepik.com) from [flaticon](https://www.freepik.com).