janishar / android-mvp-architecture

This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView

Home Page:https://janisharali.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't login ,What's the default username and password?

1322739583 opened this issue · comments

图片
I try to use this username and password,it dose not work。
And why when i write the real and collect google account and password ,it still can't login?It's a fake function?
I don't understand the login logic。

Hi 1322739583, you can avoid email validation from and can go to the main screen even if login, so if u want to enjoy and learn MVP then add getMvpView().openMainActivity(); at line 97 in LoginPresenter.java

Hope this helps

I added in LoginPresenter

    @Override
    public void onServerLoginClick(String email, String password) {
        getMvpView().openMainActivity();
        //validate email and password