CryptoFun is a Learning Project 📱 for Applying Android Architecture Components with exploring Jetpack Compose, MVVM, Kotlin Coroutines, Kotlin Flows using Clean Architecture approach.
The following diagram shows the structure of this project with 3 layers:
- Presentation
- Domain
- Data
- Compose Toolkit for building native UI (in a declarative way - 100% Kotlin).
- Coroutines Library support for Kotlin coroutines.
- Flows Stream processing API, built on top of Coroutines.
- Compose Navigation for tabs navigation using Jetpack Compose.
- Dagger Hilt Dependency injection library for Android.
- Retrofit Type-safe REST client for Android to consume RESTful web services.
- UI calls method from ViewModel.
- ViewModel executes Use case.
- Use case gets data from Coin Repository.
- Each Repository returns data from a Data Source.
- Information flows back to the UI where we display the list of all coins.
- User can click a coin to get open coin detail screen.
Get coins route: https://api.coinpaprika.com/v1/coins
Get a coin by ID route: https://api.coinpaprika.com/v1/coins/{coinId}
Copyright 2022 Abhishek Dubey
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.