Skip to content

A simple Android project that uses Retrofit and the Darksky API.

Notifications You must be signed in to change notification settings

T1ASH/WeatherTimeAndroid

Repository files navigation

Weather Time (Android)

This project is a first attempt at learning Android. It uses Retrofit for accessing the Darksky API. RecyclerView is being used for the weekly forecast and CardView for the detail view. The PreferenceFragment is being used for a settings page that allows the user to change their location later on. Any constructive criticise regarding the use of Android or Java is welcome.

Setup

In order to make the project function properly, you must add a secrets.xml file within res/values. Then simply add the following.

<string name="dark_sky_api">Your Darksky API Key</string>

What's missing?

  • No tests have been implemented yet.
  • Weather data does not refresh on a regular basis.
  • ConstraintLayout doesn't work with Landscape mode.
  • Does not use ConstraintLayout yet. It may look odd on some devices.

Screenshots

Forecast Master Fragment Forecast Detail Fragment
Forecast Master View Forecast Detail View

About

A simple Android project that uses Retrofit and the Darksky API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages