@Override public void initUiAndListener() { ButterKnife.bind(this); mFeedbackPresenter.bindData( getIntent().getIntExtra(mFeedbackPresenter.TYPE, mFeedbackPresenter.TYPE_FEEDBACK)); initToolBarUI(); mFeedbackPresenter.attachView(this); initProgressBar(); }
@OnClick(R.id.fab_send) public void clickSendFeedback(View v) { boolean wannaStartAnimation = mFeedbackPresenter.checkFeendback(); if (wannaStartAnimation) { startSendingAnimation( new RevealView.RevealAnimationListener() { @Override public void finish() { mFeedbackPresenter.sendFeedback( mEmailText.getText().toString(), mContentText.getText().toString()); } }); } }