Skip to content

dmytroKarataiev/BbcReader

Repository files navigation

Rss Reader for the BBC News feed Travis CI

Get it on Google Play

Animation of the app

Rss feed reader for the BBC network news feed. Works fast, utilises MVP architecture and several modern libraries to perform REST work, image downloading and caching.

Requirements

  • [Specifications](materials/Android Developer Interview Assignment.pdf).
  • To be simple enough to make it under 8 hours - this caused me to make several sacrifices:
    • Realm instead of SQLite, therefore inability to use a ContentProvider.
    • Without a ContentProvider - no SyncAdapter, which would be the best way to perform battery-efficient regular updates.
  • API to get data in XML format: BBC
  • Tablet Design.

Features

  • Used MVP Architecture for the app.
  • Realm Database for caching and storing the data.
  • Accessibility features: RTL, content descriptions, empty TextView when there are no articles.
  • Google Coding Style.
  • ShareActionProvider to send links to friends.
  • Material Design and Shared Transitions, reveal animations.
  • Search of articles.
  • Scroll to the top by clicking the ActionBar.
  • Palette to have a nice-looking design.
  • For API 21+ - auto-updates in background with notifications (JobScheduler).
  • Market (without BBC logos) and Local (BBC branded) flavors.

Libraries

  • Realm - fast and efficient database, which dramatically increases a speed of development.
  • Butterknife - boilerplate code cutter, improves speed of development, makes code easier to read.
  • Retrofit - basically the standard in the Android development for all REST-related works.
  • RxJava, Retrolambda - the most modern way to manage streams of data and asynctasks and a plugin to make use of nice Java 8 lambda syntax.
  • Picasso - one of the best image downloading and caching libraries for Android, increases speed of development.

Used materials

License

The MIT License (MIT)

Copyright (c) 2016 Dmytro Karataiev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

News reader of a BBC xml feed (RxJava, MVP, Realm).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages