Earth Photos - This application uses NASA's API to display photos of the planet Earth. The user can select both the day of the photo and the time of the photo. The Earth of Photos allows the user to send favorite photos to friends using any social networks. And also allows you to set your favorite photos as wallpaper on your device.
You can use this application to study the architecture and third-party libraries used in this project.
minSdkVersion - 21 (Lollipop) / targetSdkVersion - 29 (Android 10)
Architecture: Observer
To use the program you need to get a key on the NASA website, this key has a limit of 1000 requests per day. Link to NASA website https://api.nasa.gov/
- RxJava 2
- Retrofit 2
- Okhttp 3
- Subsampling scale image view
- Universal image loader
- Kenburnsview
implementation 'com.squareup.retrofit2:retrofit:2.4.0' - Retrofit REST client
implementation 'com.squareup.okhttp3:okhttp:4.0.0' - okHttp HTTP client
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0' - RxJava adapter for Retrofit
implementation 'com.squareup.okhttp3:logging-interceptor:4.0.0' - Logger for okHttp
implementation 'com.squareup.retrofit2:converter-gson:2.4.0' - JSON converter for GSON
implementation 'com.google.code.gson:gson:2.8.5' - GSON - parser library to JSON
implementation 'io.reactivex.rxjava2:rxjava:2.2.8' - RxJava is a Reactive Programming library
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1' - RxJava for Android
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0' - Scalable ImageView
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' - Image loader
implementation 'com.flaviofaria:kenburnsview:1.0.7' - ImageView Animated Effect