Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why every XMvpPresenter has @PerActivity annotation ? #33

Closed
LoveqLRC opened this issue Aug 17, 2017 · 1 comment
Closed

Why every XMvpPresenter has @PerActivity annotation ? #33

LoveqLRC opened this issue Aug 17, 2017 · 1 comment

Comments

@LoveqLRC
Copy link

such as

@PerActivity
public interface SplashMvpPresenter<V extends SplashMvpView> extends MvpPresenter<V> {

}
@PerActivity
public interface MainMvpPresenter<V extends MainMvpView> extends MvpPresenter<V> {
}

I think it's unnecessary

@janishar
Copy link
Owner

This is symbolic to indicate that each reference exists binded to a single activity. It is good for the readability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants