| | |
| | | import com.hdl.photovoltaic.widget.ConfirmationCancelDialog1; |
| | | import com.hdl.photovoltaic.widget.ListDialog; |
| | | import com.hdl.photovoltaic.widget.adapter.ListDialogAdapter; |
| | | import com.jaeger.library.StatusBarUtil; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | @Override |
| | | public void onBindView(Bundle savedInstanceState) { |
| | | |
| | | setNotificationBarBackgroundColor(CustomColor.white); |
| | | setStatusBarTextColor(); |
| | | setStatusBarTranslucent(); |
| | | //初始化 |
| | | initView(); |
| | | //初始化界面监听器 |
| | |
| | | HdlAccountLogic.getInstance().regionByAccount(account, new CloudCallBeak<HDLUserRegionBean>() { |
| | | @Override |
| | | public void onSuccess(HDLUserRegionBean obj) { |
| | | String APP_REGIONURL_TEST = "http://47.114.131.143:27199"; |
| | | //String APP_REGIONURL_TEST = "http://47.114.131.143:27199"; |
| | | //AppConfigManage.setUserRegionUrl(APP_REGIONURL_TEST); |
| | | //初始化服务域名 |
| | | // AppConfigManage.setUserRegionUrl(obj.getRegionUrl()); |
| | | AppConfigManage.setUserRegionUrl(APP_REGIONURL_TEST); |
| | | AppConfigManage.setUserRegionUrl(obj.getRegionUrl()); |
| | | HDLLinkPMUser.getInstance().setUserRegionUrl(AppConfigManage.getUserRegionUrl()); |
| | | HdlAccountLogic.getInstance().loginByPassword(account, password, new ILoginCallBack() { |
| | | @Override |
| | |
| | | viewBinding.homeLoginPasswordEt.removeTextChangedListener(passwordTextWatcher); |
| | | } |
| | | |
| | | // 将StatusBar设置为透明 |
| | | public void setStatusBarTranslucent() { |
| | | StatusBarUtil.setTranslucentForImageViewInFragment(this, |
| | | 0, null); |
| | | StatusBarUtil.setLightMode(this); |
| | | } |
| | | |
| | | |
| | | } |