Skip to content

YW-Ma/TinderNews

Repository files navigation

TinderNews

A Tinder like news client

Techniques

  • UI with Jetpack Navigation Component --> MainActivity.java and layout, menu, navigation directory under /res
  • Network layer with Retrofit --> RetrofitClient.java

Public APIs used in the project

The source of the news is from https://newsapi.org/. Tow endpoints are used here:

My API_KEY is sent via header, not url parameters. (An Interceptor is implemented to do it)

Architecture

Architecture MVVM

For mainland China user 温馨提示

  • 在大陆的用户需要科学上网才能访问newsapi
  • 如果您的代理模式可以选择“规则模式-rule”和“全局模式-global”,请选择全局模式。
  • 如果不科学上网,GET请求会失败,Response是javax.net.ssl.SSLHandshakeException

About

A Tinder like news client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages