Search in sources :

Example 1 with AuthViewState

use of com.hannesdorfmann.mosby3.sample.mail.base.view.viewstate.AuthViewState in project mosby by sockeqwe.

the class AuthFragment method showAuthenticationRequired.

@Override
public void showAuthenticationRequired() {
    AuthViewState vs = (AuthViewState) viewState;
    vs.setShowingAuthenticationRequired();
    loadingView.setVisibility(View.GONE);
    errorView.setVisibility(View.GONE);
    contentView.setVisibility(View.GONE);
    authView.setVisibility(View.VISIBLE);
}
Also used : AuthViewState(com.hannesdorfmann.mosby3.sample.mail.base.view.viewstate.AuthViewState)

Aggregations

AuthViewState (com.hannesdorfmann.mosby3.sample.mail.base.view.viewstate.AuthViewState)1