Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.
/ TheGuardianView Public archive

πŸ‘¨β€πŸŽ“ Student project | πŸ—£πŸ—ž News app with JSON

License

Notifications You must be signed in to change notification settings

r4dixx/TheGuardianView

Repository files navigation

The Guardian View

News app based on the editorial section of The Guardian
First app with real online data πŸ“±πŸŒβœ¨


About

Seventh of eight student projects made in 2017-2018 as part of Udacity's Android Basics Nanodegree.

β˜‘οΈ Phase 1 - (Nov. - Feb.):

  1. Literally Hello World
  2. Hello Android
  3. Cheesy Winter Contest
  4. m32O

β˜‘οΈ Phase 2 - (Feb. - Jul.):

  1. Rookie Player
  2. Visit Calgary
  3. The Guardian View
  4. Flourish & Blotts - Book Registry

Goal and requirements

App contains a main screen which displays multiple news stories and settings.

Each list item on the main screen must display relevant text, information about the story and a clickable link.

The Settings Activity must be accessible from the Main Activity via a Navigation Drawer or from the toolbar menu. It should allow users to see the preference values right below the preference names, as a summary. When the value changes, the summary should change too.

Key learnings

  • HTTP networking
  • JSON parsing
  • AsyncTask
  • Loaders
  • ConnectivityManager
  • PreferenceFragment
  • StringBuilder
  • Permissions
  • SwipeRefreshLayout
  • Empty state views
  • Random button texts
  • Material Design 2018 style

Installation

First you'll need to sign up for an API key (it will be sent to you by email).

Once done, you can move on to the next steps:

  1. Download this project as zip and extract it
  2. Import it in Android Studio
  3. Sync Gradle and run on your device/emulator

Or use dryrun by @CesarFerreira

Finally, head to the SettingsActivity and replace the default API key test by your own.

Warning! Your API key is private and should not be shared to anyone.

Contributing

No contribution can be made.

Project status

Closed.

Credits

Copyright

This project is licensed under the terms of the MIT license and protected by Udacity Honor Code and Community Code of Conduct. See license and disclaimer.

About

πŸ‘¨β€πŸŽ“ Student project | πŸ—£πŸ—ž News app with JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages