public static void applyToOr ( ColorHolder colorHolder , TextView textView , ColorStateList colorDefault ) { if ( colorHolder != null && textView != null ) { colorHolder . applyToOr ( textView , colorDefault ) ; } else if ( textView != null ) { textView . setTextColor ( colorDefault ) ; } }
a small static helper to set the text color to a textView null save