/** * Return {@link RequestCreator} for generic image request on specified path with no placeholder. * * <p><em>Note:</em> Target must be ImageView. */ public static RequestCreator get(Context context, String path) { if (TextUtils.isEmpty(path)) path = null; return PicassoCompat.with(context).load(path); }
/** * Return {@link RequestCreator} for generic image request on specified file with no placeholder. * * <p><em>Note:</em> Target must be ImageView. */ public static RequestCreator get(Context context, File file) { return PicassoCompat.with(context).load(file); }
/** * Return {@link RequestCreator} for generic image request on specified URI with no placeholder. * * <p><em>Note:</em> Target must be ImageView. */ public static RequestCreator get(Context context, Uri uri) { return PicassoCompat.with(context).load(uri); }
/** * Return {@link RequestCreator} for generic image request on specified drawable resource ID with * no placeholder. * * <p><em>Note:</em> Target must be ImageView. */ public static RequestCreator get(Context context, int resourceId) { return PicassoCompat.with(context).load(resourceId); }