Giter VIP home page Giter VIP logo

openweather's Introduction

OpenWeather

OpenWeatherMap API를 이용해서 특정지역(판교 알파돔) 주변 20군데의 날씨 정보를 리스트표기 및 상세 정보 표기

사용 기술

  • MVVM
  • Lottie
  • Retrofit2
  • RxAndroid2
  • Glide

Screenshot

list detail1 detail2

openweather's People

Contributors

karrel84 avatar babosamo avatar eastar-dev avatar

Stargazers

Ji Hoon Kim (Kade) avatar  avatar  avatar Juhyun Song avatar

Watchers

 avatar James Cloos avatar

Forkers

karrel84

openweather's Issues

java.lang.NullPointerException: Attempt to invoke virtual method 'com.karrel.openweather.model.weather.City com.karrel.openweather.model.HourlyForecastData.getCity()' on a null object reference

  • 도시 상세보기 클릭시 발생
  • Emulator 에서 발생
  • Crash 내용

java.lang.NullPointerException: Attempt to invoke virtual method 'com.karrel.openweather.model.weather.City com.karrel.openweather.model.HourlyForecastData.getCity()' on a null object reference
at com.karrel.openweather.viewmodel.ForecastViewModel$hourlyForecastList$1.apply(ForecastViewModel.kt:21)
at com.karrel.openweather.viewmodel.ForecastViewModel$hourlyForecastList$1.apply(ForecastViewModel.kt:15)
at androidx.lifecycle.Transformations$1.onChanged(Transformations.java:75)
at androidx.lifecycle.MediatorLiveData$Source.onChanged(MediatorLiveData.java:152)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:113)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:131)
at androidx.lifecycle.LiveData.setValue(LiveData.java:289)
at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:33)
at androidx.lifecycle.LiveData$1.run(LiveData.java:91)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

dagger2

dagger2 DI를 구현해서 넣는다.

  1. 서비스 로케이터
  2. repo 쪽

도시 검색 기능

원하는 도시를 검색한 후
해당 도시를 기준으로 주변 도시 N개의 날씨 정보를 노출 시킴

Fabric (crashlytics) 설정 + slack 연동

fabric 에 계정 생성 (tuna team 계정으로 하면 될듯)
crashlytics (요즘은 play store migration 을 강제하더라고여)
slack 에 특정 채널 생성 후 연동

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.