class ContextCompat {

    @Nullable
    public static ColorStateList getColorStateList(@NonNull Context context,
            @ColorRes int id) {
        if (Build.VERSION.SDK_INT >= 23) {
            return context.getColorStateList(id);
        } else {
            return context.getResources().getColorStateList(id);
        }
    }

    protected  ContextCompat();

}