浏览代码

Merge branch 'develop' of https://github.com/swict/LifePlusAndroid into develop

# Conflicts:
#	app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/contents/CustomListicleImageView.java
Hasemi 7 年之前
父节点
当前提交
d850c85568

+ 5 - 2
app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/contents/CustomListicleImageView.java

@@ -19,6 +19,7 @@ import kr.co.zumo.app.R;
 import kr.co.zumo.app.lifeplus.bean.api.ContentsDetailImageBean;
 import kr.co.zumo.app.lifeplus.util.StringUtil;
 import kr.co.zumo.app.lifeplus.view.IEventListener;
+import retrofit2.http.HEAD;
 
 /**
  * CustomListicleImageView
@@ -136,10 +137,12 @@ public class CustomListicleImageView extends ConstraintLayout {
         case MotionEvent.ACTION_DOWN:
         case MotionEvent.ACTION_UP:
         case MotionEvent.ACTION_MOVE:
+
+          boolean intercept = true;
           /**
-           * index 가 0 일 때 좌-> 우 드래그 시 false, index 가 끝일 때 좌<-우 드래그 시 false
+           * index 가 0 일 때 좌-> 우 드래그 시 false, index 가 끝일 때 좌<-우 드래그 시 false => 미사용
            */
-          boolean intercept = true;
+
 //          if (currentIndex == 0) {
 //            if (direction.equals(DIRECTION_LEFT)) {
 //              intercept = false;

+ 4 - 4
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/signup/SignUpBasePresenter.java

@@ -44,12 +44,12 @@ public abstract class SignUpBasePresenter<M extends SignUpBaseModel, V extends I
       .listener(new ICustomConfirmListener<ConfirmDialog>() {
         @Override
         public void onPositiveResult(ConfirmDialog dialog, Event event) {
-          backOrHome();
+          dialog.dispose();
         }
 
         @Override
         public void onNegativeResult(ConfirmDialog dialog, Event event) {
-          dialog.dispose();
+          backOrHome();
         }
 
         @Override
@@ -58,8 +58,8 @@ public abstract class SignUpBasePresenter<M extends SignUpBaseModel, V extends I
         }
       })
       .attribute((IAttribute<ConfirmDialog>) dialog -> {
-        dialog.setNegativeButtonLabelId(R.string.go_execute);
-        dialog.setPositiveButtonLabelId(R.string.back);
+        dialog.setNegativeButtonLabelId(R.string.back);
+        dialog.setPositiveButtonLabelId(R.string.go_execute);
         dialog.setText(ResourceUtil.getString(model.getBackwardWarnStringId()));
       })
       .show();

+ 2 - 2
app/src/main/res/values/strings.xml

@@ -218,8 +218,8 @@
   <string name="sign_up_success_message">%s님\nLifeplus 회원가입이 완료되었습니다.</string>
   <string name="sign_up_success_message_from_zumo">%s님\nLifeplus 회원전환이 완료되었습니다.</string>
   <string name="coupon_detail">300</string>
-  <string name="sign_up_back_warning">화면 이탈 시 과정이 초기화 됩니다.\n정말 나가시겠습니까?</string>
-  <string name="sign_up_back_warning_from_zumo">화면 이탈 시 회원전환 과정이 초기화 됩니다.\n정말 나가시겠습니까?</string>
+  <string name="sign_up_back_warning">화면 이탈 시 과정이 초기화 됩니다.\n계속 진행할까요??</string>
+  <string name="sign_up_back_warning_from_zumo">화면 이탈 시 회원전환 과정이 초기화 됩니다.\n계속 진행할까요??</string>
 
   <string name="network_disconnected_message">서버와의 통신이 \n원활하지 않습니다.</string>
   <string name="network_disconnected_message_detail">네트워크 연결이 원활하지 않습니다.\n사용중인 네트워크 상태를 확인해주세요.</string>