Skip to content

tolmachevroman/hackernews-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

hackernews-reader

Loads and shows the latest Android related Hacker News articles

Demo

The core architecture is based on:

Retrofit for the network layer

ContentProviders + SQLite for the database layer

Latest Design library (RecyclerView, CardView, CoordinatorLayout for animations) for the UI

Some comments:

  1. Hacker News API gives unstable json ( title or story_title, url or story_url may or may not contain data), so app filters whatever field brings the valid information. The only reliable id I found was objectID field, which is used as unique key in the database.

  2. Some News don't contain url at all, for such cases app shows a Toast.

About

Loads and shows the latest Android related Hacker News articles

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages