UV Index
A simple ultraviolet index viewer app for demonstrating:
Instant Apps + Kotlin + Dagger + MVP
Built With
- Weatherbit as weather API
- Android Instant Apps
- Kotlin
- Mosby for MVP
- Dagger 2 for Dependency Injection
- Retrofit for HTTP client
- PermissionsDispatcher for Runtime Permissions
- Timber for logging
- MPAndroidChart for line chart
- Geocoder for getting address from coordinates or location name
- Crashlytics for crash logging
- Google Location API for receiving user's location
Demo
Getting Started with Development
- Sign up to Weatherbit (they also have a free plan)
- Get your API key
- Put your API key to the
data.Services.API_KEY
constant inside the:base
module
TODO
- Move Google Play APIs from
:base
module to:query
module
License
Copyright 2017 Mustafa Berkay Mutlu.
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.