Giter Club home page Giter Club logo

multimodule_dishes_app's Introduction

multimodule_dishes_app

Multimodule test task

Application consists of 12 modules: app ui_categories ui_dishes ui_details ui_cart datasource_categories datasource_dishes datasource_details datasource_cart di_module resourse_module location_module delegate_adapter

app consists of main activity that have navigation bar and topbar with date and location provided by location_module.

Application have 4 feature-screens, each of them is located in its module (ui_categories, ui_dishes, ui_details, ui_cart). This feature modules does not depend on each other and share data through database or MainActicity and FragmentManager (for primitives).

UI feature modules depend on their corresponding datasources modules (datasource_categories, datasource_dishes, datasource_details, datasource_cart), that contains dataModels and interfaces that are neccesary for feature modules. This datasource modules can be shared between feature modules.

di_module contains dagger main component with providers of retrofit API and room DB. App depends on di_module and provides dependencies from di_module to Dagger Components of feature modules. Dagger components provide Viewmodel to feature fragments and dependencies to VM.

delegate_adapter contains DelegateAdapter to use in feature modules

resource_module contains drawables, strings etc to be used in other modules

Application uses flow and coroutines for work with server api and DB, Dagger 2 for dependency injection. Architecture pattern is MVVM with CLEAN (partially).

Unfortunately, for now mock server is unavailable, video of the app https://drive.google.com/file/d/1M3tUv1ny6JocAPArdLz1qc8y_8LY90xJ/view?usp=share_link

multimodule_dishes_app's People

Contributors

kristalcraft avatar

Watchers

 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.