Skip to content

Architect-Coders/OpenWeather

Repository files navigation

OpenWeather

Open Weather has been created with propuse to follow to Architect-Coders

Open weather calls to OpenWeatherMap API

01-solid

#1 Api Call

#2 Location

#3 DetailActivity

02-presenetation:

#5 MainActivity with MVP pattern

#6 DetailActivity with MVP pattern

#7 MainActivity with MVVM pattern

#8 DetailActivity with MVVM pattern

#10 Factory optimization

#11 To remove activity in repository

03-JetPack

#13 Save weather with room

04-Clean Architecture

#16 To organize frame

#18 To put clean architecture in main activity

#19 To put clean architecture in detail activity

05-Dependency Injection

#26 To add Dagger 2

#27 To convert to Koin from Dagger 2

06-Testing

#33 To add JUnit test in MainViewModel and DetailViewModel

#35 To add integration test in MainViewModel and DetailViewModel

#38 To add espresso test

Libraries and tools included:

  1. Androidx
  2. RecyclerViews
  3. Constraintlayout
  4. Okhttp
  5. Retrofit 2
  6. Coroutines
  7. Dexter
  8. JetPack
  9. Koin
  10. Mockito
  11. MockWebServer
  12. Espresso

Also visit my blog: The developer world is yours

The developer world is yours

Requirements

- Android Studio

- Gradle

Installation

- Install Android Studio:

https://developer.android.com/sdk/installing/index.html

- Install gradle:

http://gradle.org/docs/current/userguide/installation.html

Usage

Compile with Android Studio and gradle

Feel free to contribute, and contact me for any issues.

Developed By

Add me to Linkedin

License

Copyright 2019 Javier González Cabezas

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.