Giter Club home page Giter Club logo

androiddaggerhiltmvp's Introduction

Android Dagger Hilt MVP

This project is to show how to implement a Model View Presenter (MVP) using Dagger Hilt since all Hilt examples use Android ViewModel and LiveData.

alt text

Components ๐Ÿ“ฆ

Alt text

Current Hilt Release โš™๏ธ

com.google.dagger:hilt-android:2.29.1-alpha

Incomming... ๐Ÿ› ๏ธ

  • Migrate to Hilt 2.30.1
  • Non Android library Module using the new hilt-core
  • Standalone scoped screen feature module

Contributors ๐Ÿบ

Special thanks to @joancolmenerodev!

androiddaggerhiltmvp's People

Contributors

joancolmenerodev avatar riodext avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

androiddaggerhiltmvp's Issues

Generic Way to do the mvp with hilt

Hi,
I read the code and have few questions.
As there is one main Contract in this code which is associated to a specific views/presenter and for that you did the bindings in the module class.

For the increasing number of activities, don't you think it is not a good idea to bind every time a new activity and presenter in modules.

I am just curious to know, is there any way to avoid the bindings for every activity/presenter again and again with hilt.

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.