Exemple #1
0
 private void setCommunicationTextViews(TextView tvCommunication, TextView tvCommunicationName) {
   ArrayList<ContactInfo> contactInfo = new ArrayList<ContactInfo>();
   if (!mBranch.BranchPhone.equals(""))
     contactInfo.add(
         new ContactInfo(mBranch.BranchPhone, JsonToObject.CONTACT_INFO_CONTACT_VALUE_PHONE));
   if (!mBranch.BranchFax.equals(""))
     contactInfo.add(
         new ContactInfo(mBranch.BranchFax, JsonToObject.CONTACT_INFO_CONTACT_VALUE_FAX));
   ScreensHelper.setCommunicationText(
       contactInfo, tvCommunication, tvCommunicationName, getActivity());
 }
Exemple #2
0
 private void setOpenHoursTextViews(TextView tvOpenHours, TextView tvOpenDays) {
   ScreensHelper.setOpenHouersTextViews(
       mBranch.BranchHourOperatation, tvOpenHours, tvOpenDays, getActivity());
 }