|
|
@@ -17,6 +17,7 @@ import kr.co.zumo.app.lifeplus.helper.ActionBarHelper;
|
|
|
import kr.co.zumo.app.lifeplus.util.AppUtil;
|
|
|
import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
+import kr.co.zumo.app.lifeplus.view.custom.auth.IMobileAuthContract;
|
|
|
import kr.co.zumo.app.lifeplus.view.custom.auth.MobileAuthPresenter;
|
|
|
import kr.co.zumo.app.lifeplus.view.custom.auth.MobileAuthView;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.FragmentBase;
|
|
|
@@ -33,8 +34,7 @@ import kr.co.zumo.app.lifeplus.view.screen.FragmentBase;
|
|
|
*/
|
|
|
public class PinResetAuthFragment extends FragmentBase<PinResetAuthPresenter> implements IPinResetAuthView {
|
|
|
|
|
|
- private MobileAuthView authView;
|
|
|
- //private IMobileAuthContract.Presenter authPresenter;
|
|
|
+ private IMobileAuthContract.Presenter authPresenter;
|
|
|
|
|
|
@Override
|
|
|
protected View onAfterCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
|
|
@@ -50,8 +50,8 @@ public class PinResetAuthFragment extends FragmentBase<PinResetAuthPresenter> im
|
|
|
mobileAuthBean.setGender(MobileAuthBean.GENDER_MALE);
|
|
|
mobileAuthBean.setNationality(MobileAuthBean.NATIONALITY_DOMESTIC);
|
|
|
|
|
|
- authView = new MobileAuthView(getContext(), false);
|
|
|
- new MobileAuthPresenter(authView, mobileAuthBean, true, getFragmentManager(), event -> {
|
|
|
+ MobileAuthView authView = new MobileAuthView(getContext(), false);
|
|
|
+ authPresenter = new MobileAuthPresenter(authView, mobileAuthBean, true, getFragmentManager(), event -> {
|
|
|
if (Event.SUCCESS == event.getEventId()) {
|
|
|
presenter.onEvent(event);
|
|
|
}
|
|
|
@@ -100,4 +100,9 @@ public class PinResetAuthFragment extends FragmentBase<PinResetAuthPresenter> im
|
|
|
protected boolean isSkipScreenWhenBack() {
|
|
|
return true;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void onMemberMissMatch() {
|
|
|
+ authPresenter.onMemberMissMatch();
|
|
|
+ }
|
|
|
}
|