/Columns

Android news reader app

Primary LanguageJavaApache License 2.0Apache-2.0

Alt text

Is a news reader app that lets users search the New York times article database and read articles.

Features

All required and optional user stories completed

  • User can enter a search query that will display a grid of news articles using the thumbnail and headline from the New York Times Search API.
  • User can click on "settings" which allows selection of advanced search options to filter results.
  • User can configure advanced search filters such as:
    • Begin Date
    • News desk values
    • Sort order
  • Subsequent searches will have any filters applied to the search results.
  • User can tap on any article in results to view the contents in an embedded browser.
  • User can scroll down "infinitely" to continue loading more news articles. The maximum number of articles is limited by the API search.
  • Robust error handling, check if internet is available, handle error cases, network failures.
  • ActionBar SearchView as the query box
  • User can share a link to their friends or email it to themselves.
  • Filter Settings displayed with a lightweight modal overlay.
  • RecyclerView with the StaggeredGridLayoutManager to display improve the grid of image results
  • For different news articles that only have text or have text with thumbnails, use Heterogenous Layouts with RecyclerView.
  • Apply the popular ButterKnife annotation library to reduce view boilerplate.
  • Use Parcelable to pass Articles between activities
  • GSON library to streamline the parsing of JSON data.
  • Glide for more efficient image rendering.

Extra

  • Scrolling animations: arcticles smoothly scale into view when scrolling.
  • Soft Toolbar: Toolbar is hidden when user scrolls down, and reappears when user scrolls back up
  • Splash Screen
  • Dynamic Toolbar menu items: When filters are set, solid filter icon, when they are empty, empty filter icon.
  • Category chooser null state: When user has not yet entered a search, display an array of category options that auto populate filter.
  • Image loading placeholder: Display default loading image while downloading image
  • Progress bar: Display progress bar while loading news article

Demo

Basic user flow

Alt text

Applying Filters

Alt text

Sort By Time

Alt text

Progress bar

Alt text

Open Source Libraries Used

Images

License

Copyright 2016 Mike Price.

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.