Code Monkey home page Code Monkey logo

newsbreeze's Introduction

The News Breeze App is made using MVVM architecture pattern

The folders are basically named according to the layers

  1. data-data layer which contains models,repository along with local and remote data sources, local-Room DB for local persistance, remote service uses retrofit to connect with Remote services

  2. di- used for dependency injection, using Hilt for the same, Api Module, Database Module and Repository module are provided using DI

  3. ui- UI layer contains UI, and is divided into base and screen name folders

    base- contains base activity, I am making use of Genrics, Each Activity extending Base Activity should take a View Model and View Binding Also I am making use of view binding as I found it better to use than using findViewById to refer each of the view element

    home-Contains Home Activity for home screen, HomeViewModel news-detail-Contains News Detail Activity, used to display news details saved-news- Contains Saved News Activity, used to display saved news Also I am using a single view model currently as the app is not that complex, a single view model can work for now

I have built it so that It can scale, there may be few issues in terms of code quality or architecture level but that can be fixed

newsbreeze's People

Contributors

gunishmatta avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.