Skip to content

sherafatpour/CryptocurrencyList-MVVM-Coroutines

Repository files navigation

Cryptocurrency List

Description

In this project, we will receive a list of cryptocurrencies.

Getting Started

Resources

@Cryptocurrency API

https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&page=1&sparkline=false

Dependencies

  • Dagger - Hilt
 implementation "com.google.dagger:hilt-android:$last_version"
 kapt "com.google.dagger:hilt-android-compiler:$last_version"
  • Architecture Components - lifecycle
 implementation "androidx.lifecycle:lifecycle-runtime-ktx:$last_version""
 implementation "androidx.lifecycle:lifecycle-livedata-ktx:$last_version"
 implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$last_version"
 implementation "androidx.navigation:navigation-fragment-ktx:$last_version"
  • Coroutines
 implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:$last_version'
 implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:$last_version'
  • Coroutine Lifecycle Scopes
 impimplementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$last_version"
 implementation "androidx.lifecycle:lifecycle-runtime-ktx:$last_version"
  • Retrofit
 implementation 'com.squareup.retrofit2:retrofit:$last_version'
 implementation 'com.squareup.retrofit2:converter-gson:$last_version'
 implementation "com.squareup.okhttp3:okhttp:$last_version"
 implementation 'com.squareup.retrofit2:converter-scalars:$last_version'
  • CircleImageView
    implementation 'de.hdodenhof:circleimageview:3.1.0'
  • Glide
implementation 'com.github.bumptech.glide:glide:4.13.0'
kapt 'com.github.bumptech.glide:compiler:4.13.0'

SocialMedia

@Sherafatpour

Version History

  • V-1
    • first version

License

This project is licensed under the Reza sherafatpour License - see the LICENSE.md file for details