Skip to content

Abizer-R/QuickWeather

Repository files navigation

Quick Weather

Shows current weather details as well as hourly and daily forecast.
Shows data even if internet is not available

Flow of App

If Internet is available

  1. Checks if GPS is enabled:
    • If enabled: Gets latitude and longitude of current location and stores it in Shared Preference.
    • If not enabled: Asks user to enable it.
  2. Fetches Data from openwathermap API with the help of Retrofit using the latitude and longitude from Shared Preferences.
  3. Stores it in local Database with the help of ROOM.
  4. Displays the Data to the User from the database.

If Internet is not available

  1. Displays the stored data from the database.

Demo

Screenshot_Collage jpg

Click here to watch a video demo.

Tutorial Links

Small edge cases I considered, that I think helps in improving user experience

  • Shows GPS is on/off even if internet is off
  • Doesn't ask GPS permission if internet is off cuz it doesn't matter.
  • Doesn't ask for GPS again if the user hits "ignore" (Unless user wishes to enable it).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages