@Override
    public DataFetcher<T> getResourceFetcher(Integer model, int width, int height) {
        Uri uri = null;
        try {
          uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://"
                  + resources.getResourcePackageName(model) + '/'
                  + resources.getResourceTypeName(model) + '/'
                  + resources.getResourceEntryName(model));
        } catch (Resources.NotFoundException e) {
            if (Log.isLoggable(TAG, Log.WARN)) {
                Log.w(TAG, "Received invalid resource id: " + model, e);
            }
        }

        if (uri != null) {
            return uriLoader.getResourceFetcher(uri, width, height);
        } else {
            return null;
        }
    }
A model loader for handling Android resource files. Model must be an Android resource id in the package of the given
context.

@param <T> The type of data that will be loaded for the given android resource.
core/src/main/java/com/bumptech/glide/load/model/ResourceLoader.java