|
|
@@ -10,7 +10,6 @@ import android.util.Log;
|
|
|
import io.reactivex.disposables.Disposable;
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.EmergencyBean;
|
|
|
-import kr.co.zumo.app.lifeplus.bean.api.LifeplusAPIBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.LoginResultBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.PopupInfoListBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.PopupInfoResultBean;
|
|
|
@@ -23,6 +22,7 @@ import kr.co.zumo.app.lifeplus.model.module.APILoginStatusMapper;
|
|
|
import kr.co.zumo.app.lifeplus.model.module.APIMemberSelectModule;
|
|
|
import kr.co.zumo.app.lifeplus.model.module.APIModuleHelper;
|
|
|
import kr.co.zumo.app.lifeplus.model.module.APIModuleListener;
|
|
|
+import kr.co.zumo.app.lifeplus.model.module.APIModuleSimpleListener;
|
|
|
import kr.co.zumo.app.lifeplus.model.module.APIPopupLoadModule;
|
|
|
import kr.co.zumo.app.lifeplus.model.module.IEmergency;
|
|
|
import kr.co.zumo.app.lifeplus.model.module.IModuleEmergencyHandler;
|
|
|
@@ -110,17 +110,9 @@ public class ScreenStarter implements IModuleEmergencyHandler {
|
|
|
private void doGuestAction() {
|
|
|
// 로컬에서 좋아요 등 정보를 가져오기 위해서 로딩 실행
|
|
|
|
|
|
- disposable = new APIGuestModule().call(new RequestBean(), new APIModuleListener<LifeplusAPIBean>() {
|
|
|
- @Override
|
|
|
- public void onApiSuccess(LifeplusAPIBean resultBean) {
|
|
|
- gotoScreen(START_FROM_MAIN);
|
|
|
- }
|
|
|
+ disposable = new APIGuestModule().call(new RequestBean(), new APIModuleSimpleListener<>());
|
|
|
+ gotoScreen(START_FROM_MAIN);
|
|
|
|
|
|
- @Override
|
|
|
- public void onApiError(String errorMessage, APIError error) {
|
|
|
- onApiSuccess(null);
|
|
|
- }
|
|
|
- });
|
|
|
}
|
|
|
|
|
|
private void loadPopupInfo() {
|