Skip to content

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

Open
@arthurChennetier

Description

@arthurChennetier

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions