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

Updating com.android.support:design to 27.1.1 causes null presenter #48

Open
arthurChennetier opened this issue Nov 25, 2018 · 0 comments

Comments

@arthurChennetier
Copy link

arthurChennetier commented Nov 25, 2018

Hi, I implemented easy MVP in my application. Everything used to work fine.

But I have to update com.android.support:design to 27.1.1.

When I do this my presenter is not created in my activity :

@ActivityView(layout = R.layout.activity_login, presenter = LoginPresenter.class)
public class LoginActivity extends AppCompatActivity implements LoginActivityContract.View {
 @Override
    protected void onStart() {
        super.onStart();
        // Now presenter is injected.

        SharedPreferences pref = PreferenceManager
                .getDefaultSharedPreferences(this.getBaseContext());
        this.presenter.init(pref, this.queue); ---> here presenter is null
    }

What am I doing wrong ?

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

1 participant