Skip to content

Simple news feed app for Android, built with sort of MVI + Clean Architecture

License

Notifications You must be signed in to change notification settings

Tisanthan/News-Feed-App

 
 

Repository files navigation

Build Status codecov

News Feed App

Simple Android app, displaying list of latest news from choosen news sources.

  • 70 news sources in 9 categories
  • Share an article function
  • Support both portrait and landscape screen orientation
  • Two pane mode for tablets

Screenshots

Screenshot Screenshot Screenshot

Technical Details

App built with sort of MVI + Clean Architecture.

Presentation layer is done a bit diffrent from classic MVP. There is Model class instance in Presenter, that holds current View state. Presenter does not send any commands to view, istead of this, it changes Model properties, and than View render changes. View input events sent to presenter through notify method.

Domain layer works much more like MVP + Clean Architecture approach. There is an useCases, thats represents use cases and repositories, thats works with data layer and mapping entities from RAW to UI versions.

Data layer works directly with Android specific tools: network calls, DB queries and stuff like that. So domain layer knows nothing about Android SDK.

How To Build Project

This app uses News API to retrieve data. You must provide your own api key in order to build the app. Paste it to project gradle.properties in variable named ApiKey.

Libraries

License

Copyright 2017 Ivan Antsiferov

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Simple news feed app for Android, built with sort of MVI + Clean Architecture

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%