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()); }
private void setOpenHoursTextViews(TextView tvOpenHours, TextView tvOpenDays) { ScreensHelper.setOpenHouersTextViews( mBranch.BranchHourOperatation, tvOpenHours, tvOpenDays, getActivity()); }