|
|
@@ -118,15 +118,24 @@ public class EventRecommendActivity extends ActivityBaseScreen implements IWaite
|
|
|
|
|
|
private void launchScreenInternal(EventDetailBean eventDetailBean) {
|
|
|
int id = ScreenID.NONE;
|
|
|
+
|
|
|
+ // fixme 질문 수를 기준으로 강제 타입 변경하면 기본형 질문에 없는 태그를 요구하기 때문에 tag list 결과값이 없다.
|
|
|
+// if (eventDetailBean.isSimpleQuestion()) {
|
|
|
+ // 질문 수 1 -> 타입 구분
|
|
|
String questionType = eventDetailBean.getEventQuestionList().get(0).getQuestionType();
|
|
|
- if (EventQuestionBean.QUESTION_TYPE_RECOMMEND_BASIC.equals(questionType)) {
|
|
|
+ if (EventQuestionBean.QUESTION_TYPE_RECOMMEND_TAG.equals(questionType)) {
|
|
|
// 기본형
|
|
|
- id = ScreenID.EVENT_RECOMMEND_BASIC;
|
|
|
+ id = ScreenID.EVENT_RECOMMEND_TAG;
|
|
|
}
|
|
|
- else if (EventQuestionBean.QUESTION_TYPE_RECOMMEND_TAG.equals(questionType)) {
|
|
|
+ else if (EventQuestionBean.QUESTION_TYPE_RECOMMEND_BASIC.equals(questionType)) {
|
|
|
// 태그형
|
|
|
- id = ScreenID.EVENT_RECOMMEND_TAG;
|
|
|
+ id = ScreenID.EVENT_RECOMMEND_BASIC;
|
|
|
}
|
|
|
+// }
|
|
|
+// else {
|
|
|
+// // 질문 수 2 -> 태그형 고정
|
|
|
+// id = ScreenID.EVENT_RECOMMEND_TAG;
|
|
|
+// }
|
|
|
|
|
|
if (id != ScreenID.NONE) {
|
|
|
launchScreen(id);
|