GithubHelp home page GithubHelp logo

dmilicic / android-clean-sample-app Goto Github PK

View Code? Open in Web Editor NEW
504.0 504.0 109.0 262 KB

A sample app that showcases our Clean architecture approach to build Android applications.

License: MIT License

Java 100.00%

android-clean-sample-app's People

Contributors

dmilicic 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

android-clean-sample-app's Issues

MainActivity handles things it should not

I want to make a case that MainActivity and other acitvities actually handle things they aren't supposed to in an MVP scenario. For example in the cost deleted case the main activity actually performs a refresh by calling the presenter. I would argue that its up to the presenter to actually decide that a deletion would require a full refresh, or is the idea here that its up to the view to decide how to actually implement this change and it decides to go with a full reload?

Network failure case

just wanted to know that how you have been managed the network failure case.
In the case when io exception will throw(insert() in CostRepositoryImpl.class) even in that case after method return from repository and control comes to interactor, it will notify with "Saved1" toast to presenter hence the ui.

Inaccuracy in the description of run() within AbstractInteractor

First of all thank you very much for your great work, @dmilicic.

I have been learning your sample app carefully and by now I've found a little inaccuracy in there.

Within domain/interactors/base/AbstractInteractor.java you mentioned that abstract run() is declared public for only easy testing. But actually if this method wasn't declared as a public, it would have been impossible to call it within domain/executor/impl/ThreadExecutor.java.

Hope, it makes sense for beginners, at least.

Regards,
Ivan

Little fix

Hi dimilicic,
you did a great work! After cloned your repository I found a little issue in the "SyncAdapter" class.
Retrofit changed ".isSuccess()" to ".isSuccessful()" so at the first attempt gradle failed.
Now all works!

Thanks
Regards
Giosk

New Logo/Icon

Hi @dmilicic i am a graphic designer, i want to help others in graphic design.
After i reviewed your project. you have no logo on this project, therefore I want to contribute to this project by creating a new logo/icon. what do you think ? you want it ?

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.