Skip to content

mohammednawas8/PalesNewsApp

Repository files navigation

PalesNewsApp

  • PalesNews is an MVVM app applies the best practices and principles that built for android platform using kotlin as programming language.
  • fetches news from an API https://newsapi.org/ and cache the results then show them in a RecyclerView.
  • supports offline news browsing.
  • supports paging.
  • supports searching news.
  • supports news from 4 countries.

Preview

Untitled-1-Recovered

Libraries And Technoligies used

  • MVVM + LiveData : Android architecture used to saperate logic code from ui and save the application state in case the configuration changes.
  • Retrofit + Gson Converter : Fetch news from rest api as a gson file and convert it to a kotlin object.
  • Room : Save the articles into a local database.
  • Coroutines : Executing some code in the background.
  • Dagger hilt : Dependency injection.
  • Navigation Component : Navigate between fragments.
  • KTX : Share the viewModel between many fragments.
  • Glide : Catch and cache images from the internet and show them in an imageView.
  • Swipe to refresh : Swiping up to refresh the news.
  • viewBinding : to access the views without needing to infalte them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages