Git Product home page Git Product logo

Comments (4)

JoseAlcerreca avatar JoseAlcerreca commented on August 24, 2024 1

It was forked a while ago from todo-mvp so it probably needs a git merge todo-mvp and a big conflict resolution.

Take a look at

https://github.com/googlesamples/android-architecture/tree/dev-todo-mvp-dagger/todoapp

I'd use git difftool -d origin/dev-todo-mvp-dagger -- . first, if you have a nice difftool installed like meld it will show differences. They should be as small and few as possible.

and feel free to open a PR against that branch.

The prod/mock flavors and the Injection class have to be removed from it.

from architecture-samples.

paddyzab avatar paddyzab commented on August 24, 2024

Hey @JoseAlcerreca would love to take care of this during weekend.
Are you working on it? Do not want to duplicate effort.
edit: Dagger2 ofc.

Cheers.

from architecture-samples.

JoseAlcerreca avatar JoseAlcerreca commented on August 24, 2024

Also, before committing code please highlight the changes you plan to make. Thanks!

from architecture-samples.

Ericliu001 avatar Ericliu001 commented on August 24, 2024

Hi Jose, I've built an sample weather app using MVP and Dagger2, but not sure if the mvp is structured the same way as you are planning to do.
Here is the link https://github.com/Ericliu001/Weather2016

The basic idea is to move as much business logic into presenter as possible and the View only takes care of user actions and refreshing display elements. I use a No-UI Fragment as the ViewModel because it can survive configuration changes if we set retainInstance(true).

If you feel this is the way to go, I will be working on the to-do app and create a pull-request using this structure. Thank you!

Alt text

from architecture-samples.

Related Issues (20)

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.