/** * Find TextView with the id "account_filter_header" and set correct text for the account * filter header. * * @param filterContainer View containing TextView with id "account_filter_header" * @return true when header text is set in the call. You may use this for conditionally * showing or hiding this entire view. */ public static boolean updateAccountFilterTitleForPeople(View filterContainer, ContactListFilter filter, boolean showTitleForAllAccounts) { return updateAccountFilterTitle(filterContainer, filter, showTitleForAllAccounts, false); }
/** * Similar to {@link #updateAccountFilterTitleForPeople(View, ContactListFilter, boolean, * boolean)}, but for Phone UI. */ public static boolean updateAccountFilterTitleForPhone(View filterContainer, ContactListFilter filter, boolean showTitleForAllAccounts) { return updateAccountFilterTitle( filterContainer, filter, showTitleForAllAccounts, true); }