Coder Social home page Coder Social logo

clean-contacts's People

Contributors

carlosmchica avatar fsergio101 avatar gowthamgts avatar javernaut avatar panavtec avatar smuriana 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

clean-contacts's Issues

ViewInjector not able to inject fragment subclasses

When I use a fragment subclass of a BaseFragment that implements a Thread decorated view, the ViewInjector.inject method doesn't inject the view, it remains null after the injection. The ViewInjector.inject method is taking the right class (the fragment subclass).

Broken presentation tests

There are a couple of broken classes/tests (PresenterTest and TestInteractorInvoker, if I'm not wrong).

Clean Android without bus

Hi, I had no idea where to leave my feedback so I've created an issue. Hope it's ok.

Great work with the project. I was thinking about your solution with retaining presenters using handler hack. It's pretty clever but I have my doubts about leaking activity and that it simply doesn't work. Notice that your module (MainModule) is holding reference to MainView that is implemented by Activity. When you are retaining instance of object graph for screen rotation you are leaking activity because new Activity is created but the old one is still hold by object graph. What is worse is that presenter that should work on new instance of Activity(MainView) has the reference to the old one.

Am I missing something here? Please correct me if I am wrong.

Cache strategy error

When you call the method "Contact obtain(String md5)", you return null if the cache is invalid. This will throw an exception if you wait a while to navigate the MainActivity to DetailActivity, since there would be no data to display in the DetailActivity. I apologize for my basic level of English, I just speak Spanish.

Merge conflict leftovers

Hi there!

Great repo. Thank you :)

However, I just cloned the latest master branch and it looks like there are still some unresolved merge conflicts in the code.

For example: ActivityModule.java

<<<<<<< HEAD
import me.panavtec.cleancontacts.ui.errors.ErrorManager;
import me.panavtec.cleancontacts.ui.errors.SnackbarErrorManagerImp;
=======
import android.view.Window;
>>>>>>> release/0.8

Behaviour on screen rotation

Hi.

I was wondering if the following behaviour is expected when rotating the screen, or if that will be fixed in a later release:

  1. When first scrolling down the list of contacts and then rotating the screen, the position in the list goes back to the first contact instead of resuming at the scrolled-to position.
  2. In the "Detail" view, the resolution of the photo appears to be updated once available. When rotating the screen, the photo goes back to low resolution and appears to be never updated again.
    I've just tried running the app and did not yet look into the details of the code regarding the rotation part.
    Anyway, thanks for a great project!

presenter.getView() can be null

The Presenter.getView() can be null. Consider the case that the interactor result returns after call detachView. The view is null and the presenter is crashing, to solve it, return a NullObjectPattern of the View in the Presenter BaseClass to avoid undesired crashes.

If you want to save the results for later present, you need to handle this by your self in the presenter

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.