|
|
@@ -3,6 +3,7 @@ package kr.co.zumo.app.lifeplus.view.dialog;
|
|
|
import android.os.Bundle;
|
|
|
import android.support.annotation.NonNull;
|
|
|
import android.support.annotation.Nullable;
|
|
|
+import android.util.Log;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
@@ -34,12 +35,14 @@ public class MoreInfoDialog extends DialogBottomBase<ICustomDialogListener<MoreI
|
|
|
private static final String PERIOD_INFO = "02"; //기간
|
|
|
private static final String ORGANIZATION_INFO = "03";//편성
|
|
|
private static final String AGE_INFO = "04";//관람가
|
|
|
+ private static final String MENU_INFO = "05";//메뉴
|
|
|
private static final String GUEST_INFO = "06"; //출연진
|
|
|
private static final String TIME_INFO = "07";
|
|
|
- private static final String MENU_DETAIL_INFO = "08";
|
|
|
- private static final String PHONE_INFO = "09";
|
|
|
- private static final String ADDRESS_INFO = "10";
|
|
|
- private static final String PARKING_INFO = "11";
|
|
|
+ private static final String DESCRIPTION_INFO = "08"; //디스크립션(상세설명)
|
|
|
+ private static final String PHONE_INFO = "09"; //전화번호
|
|
|
+ private static final String ADDRESS_INFO = "10"; //주소
|
|
|
+ private static final String PARKING_INFO = "11"; //주차정보
|
|
|
+ private static final String INSTAGRAM_INFO = "12"; //인스타그램, 홈페이지, HTML A태그 포함
|
|
|
|
|
|
private String phoneNumber = null;
|
|
|
private List<ContentsMoreInfoBean> contentsMoreInfoBeanList;
|
|
|
@@ -76,6 +79,7 @@ public class MoreInfoDialog extends DialogBottomBase<ICustomDialogListener<MoreI
|
|
|
for (int i = 0; i < contentsMoreInfoBeanList.size(); i++) {
|
|
|
CustomMoreInfoView customMoreInfoView = null;
|
|
|
ContentsMoreInfoBean contentsMoreInfoBean = contentsMoreInfoBeanList.get(i);
|
|
|
+ Log.e("APP# MoreInfoDialog | onActivityCreatedInternal", "|" + "moreinfo " + contentsMoreInfoBean.getMoreInfo() + ", " + contentsMoreInfoBean.getDetailType());
|
|
|
if (null != contentsMoreInfoBean.getMoreInfo() && StringUtil.isFull(contentsMoreInfoBean.getMoreInfo())) {
|
|
|
switch (contentsMoreInfoBean.getDetailType()) {
|
|
|
case PERIOD_INFO:
|
|
|
@@ -96,7 +100,7 @@ public class MoreInfoDialog extends DialogBottomBase<ICustomDialogListener<MoreI
|
|
|
case PARKING_INFO:
|
|
|
customMoreInfoView = new CustomMoreInfoView(getActivity(), R.drawable.icon_info_parking, contentsMoreInfoBean.getMoreInfo());
|
|
|
break;
|
|
|
- case MENU_DETAIL_INFO:
|
|
|
+ case DESCRIPTION_INFO:
|
|
|
customMoreInfoView = new CustomMoreInfoView(getActivity(), R.drawable.icon_info_menu, contentsMoreInfoBean.getMoreInfo());
|
|
|
break;
|
|
|
case PHONE_INFO:
|