@Override
    public DataFetcher<T> getResourceFetcher(String model, int width, int height) {
        Uri uri;
        if (TextUtils.isEmpty(model)) {
            return null;
        } else if (model.startsWith("/")) {
            uri = toFileUri(model);
        } else {
            uri = Uri.parse(model);
            final String scheme = uri.getScheme();
            if (scheme == null) {
                uri = toFileUri(model);
            }
        }

        return uriLoader.getResourceFetcher(uri, width, height);
    }
A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by
{@link android.content.ContentResolver#openInputStream(Uri)}.

@param <T> The type of data that will be loaded from the given {@link String}.
core/src/main/java/com/bumptech/glide/load/model/StringLoader.java