|
|
@@ -32,7 +32,6 @@ import kr.co.zumo.app.lifeplus.view.dialog.AlertDialog;
|
|
|
import kr.co.zumo.app.lifeplus.view.dialog.ConfirmDialog;
|
|
|
import kr.co.zumo.app.lifeplus.view.dialog.DialogBuilder;
|
|
|
import kr.co.zumo.app.lifeplus.view.dialog.DialogID;
|
|
|
-import kr.co.zumo.app.lifeplus.view.dialog.IAttribute;
|
|
|
import kr.co.zumo.app.lifeplus.view.dialog.ICustomConfirmListener;
|
|
|
import kr.co.zumo.app.lifeplus.view.dialog.ICustomDialogListener;
|
|
|
import kr.co.zumo.app.lifeplus.view.dialog.IDialogBase;
|
|
|
@@ -546,30 +545,24 @@ public class ContentsPresenter extends ContentsBasePresenter<ContentsModel, ICon
|
|
|
// 리뷰 한 것으로 표시
|
|
|
model.setReviewCompleted();
|
|
|
|
|
|
- reviewDialog = new DialogBuilder<ConfirmDialog, ICustomConfirmListener>(getFragmentManager(), DialogID.CONFIRM)
|
|
|
- .listener(new ICustomConfirmListener<ConfirmDialog>() {
|
|
|
+ reviewDialog = new DialogBuilder<AlertDialog, ICustomDialogListener>(getFragmentManager(), DialogID.ALERT)
|
|
|
+ .listener(new ICustomDialogListener<AlertDialog>() {
|
|
|
@Override
|
|
|
- public void onPositiveResult(ConfirmDialog dialog, Event event) {
|
|
|
- view.goGooglePlay();
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public void onNegativeResult(ConfirmDialog dialog, Event event) {
|
|
|
+ public void onDialogResult(AlertDialog dialog, Event event) {
|
|
|
dialog.dispose();
|
|
|
- go(ScreenID.INQUIRY_WRITE);
|
|
|
+ view.goGooglePlay();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void onDialogCanceled(ConfirmDialog dialog) {
|
|
|
+ public void onDialogCanceled(AlertDialog dialog) {
|
|
|
dialog.dispose();
|
|
|
}
|
|
|
})
|
|
|
- .attribute((IAttribute<ConfirmDialog>) dialog -> {
|
|
|
- dialog.setNegativeButtonLabelId(R.string.go_faq);
|
|
|
+ .attribute(dialog -> {
|
|
|
+ dialog.setVisibleCloseButton(true);
|
|
|
dialog.setPositiveButtonLabelId(R.string.app_review_write);
|
|
|
dialog.setTitleId(R.string.app_review_title);
|
|
|
dialog.setText(R.string.app_review_message);
|
|
|
- dialog.isAppReviewType(true);
|
|
|
})
|
|
|
.show();
|
|
|
}
|
|
|
@@ -732,7 +725,7 @@ public class ContentsPresenter extends ContentsBasePresenter<ContentsModel, ICon
|
|
|
}
|
|
|
})
|
|
|
.attribute(dialog -> {
|
|
|
- dialog.isTransparent(true);
|
|
|
+ dialog.setTransparent(true);
|
|
|
dialog.setCancelable(false);
|
|
|
dialog.setText(R.string.access_right_message);
|
|
|
})
|