|
|
@@ -37,6 +37,7 @@ public class MoreInfoDialog extends DialogBase<ICustomDialogListener<MoreInfoDia
|
|
|
private static final String ADDRESS_INFO = "10";
|
|
|
private static final String PARKING_INFO = "11";
|
|
|
|
|
|
+ private String phoneNumber = null;
|
|
|
private List<ContentsMoreInfoBean> contentsMoreInfoBeanList;
|
|
|
private LinearLayout layoutMoreInfoContainer;
|
|
|
|
|
|
@@ -72,6 +73,7 @@ public class MoreInfoDialog extends DialogBase<ICustomDialogListener<MoreInfoDia
|
|
|
customMoreInfoView = new CustomMoreInfoView(getActivity(), R.drawable.icon_info_menu, contentsMoreInfoBean.getMoreInfo());
|
|
|
break;
|
|
|
case PHONE_INFO:
|
|
|
+ phoneNumber = contentsMoreInfoBean.getMoreInfo();
|
|
|
break;
|
|
|
case ADDRESS_INFO:
|
|
|
customMoreInfoView = new CustomMoreInfoView(getActivity(), R.drawable.icon_info_info, contentsMoreInfoBean.getMoreInfo());
|
|
|
@@ -94,7 +96,9 @@ public class MoreInfoDialog extends DialogBase<ICustomDialogListener<MoreInfoDia
|
|
|
|
|
|
/*하단 버튼 클릭 이벤트*/
|
|
|
getView().findViewById(R.id.image_view_call_info).setOnClickListener(view -> {
|
|
|
- getCustomListener().onDialogResult(MoreInfoDialog.this, new Event.Builder(Event.CALL_INFO).build());
|
|
|
+ if(null != phoneNumber){
|
|
|
+ getCustomListener().onDialogResult(MoreInfoDialog.this, new Event.Builder(Event.CALL_INFO).string(phoneNumber).build());
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
getView().findViewById(R.id.image_view_link).setOnClickListener(view -> {
|