EasyMVP icon indicating copy to clipboard operation
EasyMVP copied to clipboard

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

Open arthurChennetier opened this issue 7 years ago • 0 comments

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 ?

arthurChennetier avatar Nov 25 '18 16:11 arthurChennetier