app/src/main/java/com/yahala/ImageLoader/model/ImageTagFactory.java
/**
     * Creates a new ImageTagFactory using the given size and default placeholder image for all ImageTags.
     *
     * @param width             width of the image to be shown.
     * @param height            height of the image to be shown.
     * @param defaultImageResId resource id of an placeholder image to be used while the original image is loaded or as an error image.
     * @return
     */
Creates a new ImageTagFactory using the given size and default placeholder image for all ImageTags.
@param width             width of the image to be shown.
@param height            height of the image to be shown.
@param defaultImageResId resource id of an placeholder image to be used while the original image is loaded or as an error image.
@return
Creates a new ImageTagFactory using the given size and default placeholder image for all ImageTags . @param width width of the image to be shown . @param height height of the image to be shown . @param defaultImageResId resource id of an placeholder image to be used while the original image is loaded or as an error image . @return
public static ImageTagFactory newInstance(int width, int height, int defaultImageResId) {
        ImageTagFactory imageTagFactory = new ImageTagFactory();
        imageTagFactory.setInitialSizeParams(imageTagFactory, width, height);
        imageTagFactory.setInitialImageId(imageTagFactory, defaultImageResId);
        return imageTagFactory;
    }
public static ImageTagFactory newInstance ( int width , int height , int defaultImageResId ) { ImageTagFactory imageTagFactory = new ImageTagFactory ( ) ; imageTagFactory . setInitialSizeParams ( imageTagFactory , width , height ) ; imageTagFactory . setInitialImageId ( imageTagFactory , defaultImageResId ) ; return imageTagFactory ; }
Creates a new ImageTagFactory using the given size and default placeholder image for all ImageTags.
Creates a new ImageTagFactory using the given size and default placeholder image for all ImageTags .