class AddNewAddressPresenter extends BasePresenter<AddNewAddressContract.View> implements AddNewAddressContract.Presenter {

    @Override
    public void validQRCode(String text) {
        if (!JZWalletUtil.isValidAddress(text)) {
            showLongToast(string(R.string.unrecognized_content));
            return;
        }
        if (isViewAttached()) {
            getView().showAddress(text);
        }
    }

}