Giter Site home page Giter Site logo

android-clean-boilerplate's People

Contributors

dmilicic avatar ravidsrk avatar readmecritic avatar sekhmet 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  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

android-clean-boilerplate's Issues

One new Interactor for every new Operation?

Hi there,

I have just implemented the architecture as a candidate for my app.

I noticed that the InteractorImpl has a run() method. This is the only method that gets called from the Presenter/Activity if I understand correctly.

So, if I have a CRUD operation for my model, I would have to create GET, POST, DELETE, UPDATE interactor (that is, 4 different interactors) for the same Model....

Is this correct assumption? Is there any way I could avoid this? I would like to have one interactor that supports my presenter and that presenter supports a Activity.

Thanks

A few questions

Hey there,

Thanks for the boilerplate!

I followed your tutorial and seeing some issues. The first one is in the MainActivity class. I have:

 protected void onResume() {
        super.onResume();
        mPresenter.resume();
    }

the mPresenter is failing, saying that the symbol does not exist. Where do I declare it and instanciate it?

In the MainPresenterImpl, I have:

    public void resume() {
        mView.showProgress();

        // initialize the interactor
        GeoPositionInteractor interactor = new GeoPositionInteractorImpl(
                mExecutor,
                mMainThread,
                this,
                mMessageRepository
        );

        // run the interactor
        interactor.execute();

    }

Same problem as above, but in this case the symbol is mMessageRepository. Where is that reference?

Thank you

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 ?

Where should I do the net request?

Hi dmilicic:
I read an article about your Clean Architecture(They call so). I have read "Android-Clean-Boilerplate" and "android-clean-sample-app" source wrote by you.

I wonder where should I do the net request?

I know I can get data from database via the "Interactor". But the third part net request library such as AsyncHttpTask has already do work at a new thread. So if I put MVP in the outer layer, may I put the net request at M of the MVP?

 Answer from a AndroidRookies. THKS a lot if get your help~

Slooow

Hey man !

First of all, thanks for your awesome work and articles ! I'm not new to Android bu it's the first time I'm getting into design pattern and I wanted to start clean ! So your work is helping me a lot right now !

My question is based on the example you've made in this "tutorial":

Isn't the retrival from the repository slow ? I'm testing on my phone so it's not because of the emulator but it still take like 2-3sec to get the message and display it. Is it because of the debug mode while developing the app ? In this case, it would be resolved while releasing but I would like to be sure before going further into developing an app based on your boilerplate.

Thanks again !

Error building the project

I have cloned the repo and even tried forking it. I am unable to build it. Apparently there is an issue with a missing .iml file in the app folder and I don't know how to fix it. Please help me.

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.