public static Drawable decideIcon ( ImageHolder imageHolder , Context ctx , int iconColor , boolean tint ) { if ( imageHolder == null ) { return null ; } else { return imageHolder . decideIcon ( ctx , iconColor , tint ) ; } }
a small static helper which catches nulls for us