https://github.com/armdev19/earth-photos
Erth Photos connects to NASA server and displays photos by day
https://github.com/armdev19/earth-photos
gson interpreter java okhttp3 retrofit2 rxjava2
Last synced: about 1 year ago
JSON representation
Erth Photos connects to NASA server and displays photos by day
- Host: GitHub
- URL: https://github.com/armdev19/earth-photos
- Owner: armdev19
- Created: 2019-09-28T14:53:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T15:12:49.000Z (over 6 years ago)
- Last Synced: 2025-01-13T03:32:59.337Z (about 1 year ago)
- Topics: gson, interpreter, java, okhttp3, retrofit2, rxjava2
- Language: Java
- Homepage:
- Size: 18 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Earth Photos Example
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.
## Project DEMO

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/
### Used libraries
* 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