Skip to content

jessehj/news-sample-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

news-sample-android

News API Description

  • Root Url:
    https://newsapi.org/

  • Authentication
    [Get API key]
    My API key: c44e006dbc734ae78ae222a26f177cb9

    Provide api key via the X-Api-Key HTTP header.

  • Endpoints:

    • Top headlines /v2/top-headlines :

      • category
        business entertainment general health science sports technology
      • country
        kr
      • q : Keywords or a phrase to search for.
      • pageSize (default: 20, maximum: 100)
      • page
    • Everything /v2/everything :

      • q
      • sources
      • pageSize
      • page
    • Sources /v2/sources :

      • category (default: all categories)
        business entertainment general health science sports technology
      • country (default: all countries)
        kr

Project architecture:

  • VIPER Architecture : Inspired from Clean Architecture from Uncle Bob.

Libraries:

  • Android support libraries
    • RecyclerView
    • CardView
    • ConstraintLayout
    • ...
  • Kotlin Anko libraries
    • anko-commons
    • anko-design

    Toolbox for kotlin, simple toast & snackbar & sintent helper,

  • Retrofit
    • retrofit2
    • converter-gson
    • (okhttp3) logging-interceptor

    Http client libraries

  • Lottie

Simple use animation for loading progress

  • Picasso :

Display images with url or local path

  • Timber

Display log

  • Robolectric

Unit test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages