code: public static Drawable getCompatDrawable(Context c, int drawableRes) {
  		Drawable d = null;
  		try {
  			d = ContextCompat.getDrawable(c, drawableRes);
  		} catch (Exception ex) {
  			logException(ex);
  		}
  		return d;
  	}
docs: helper method to get the drawable by its resource id, specific to the correct android version
  
  @param c
  @param drawableRes
  @return