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

    @Override
    public void loadAddressInfo() {
        if (isViewAttached()) {
            if (addressEntity != null) {
                getView().setAddressInfo(addressEntity);
            }
            getView().setBottonBtnText(addressEntity != null ? string(R.string.save) : string(R.string.add));
        }
    }

}