// Path: library/src/main/java/com/veinhorn/scrollgalleryview/MediaInfo.java
// public class MediaInfo {
//     private MediaLoader mLoader;
//     private String description;
// 
//     private MediaInfo() {
// 
//     }
// 
//     private MediaInfo(MediaLoader mediaLoader, String description) {
//         this.mLoader = mediaLoader;
//         this.description = description;
//     }
// 
//     /**
//      * Creates MediaInfo object from MediaLoader
//      * @param mediaLoader
//      * @return MediaInfo object
//      */
//     public static MediaInfo mediaLoader(MediaLoader mediaLoader) {
//         return new MediaInfo().setLoader(mediaLoader);
//     }
// 
//     public static MediaInfo mediaLoader(MediaLoader mediaLoader, String description) {
//         return new MediaInfo(mediaLoader, description);
//     }
// 
//     public MediaLoader getLoader() {
//         return mLoader;
//     }
// 
//     public MediaInfo setLoader(MediaLoader loader) {
//         mLoader = loader;
//         return this;
//     }
// 
//     public String getDescription() {
//         return description;
//     }
// }


import com.veinhorn.scrollgalleryview.MediaInfo;
import java.util.List;
package com.veinhorn.scrollgalleryview.builder;



/**
 * MediaHelper is a specification which is used for building DSLs. It includes a bunch of methods
 * which help to simplify adding media to your gallery
 */
public interface MediaHelper {
    /**
     * Creates MediaInfo object based on image url
     * @param url is an image URL address
     * @return MediaInfo object
     */
    MediaInfo image(String url);

    /**
     * Creates MediaInfo object w
     * @param url is an image URL address
     * @param description of an image
     * @return MediaInfo object
     */
// Path: library/src/main/java/com/veinhorn/scrollgalleryview/MediaInfo.java
// public class MediaInfo {
//     private MediaLoader mLoader;
//     private String description;
// 
//     private MediaInfo() {
// 
//     }
// 
//     private MediaInfo(MediaLoader mediaLoader, String description) {
//         this.mLoader = mediaLoader;
//         this.description = description;
//     }
// 
//     /**
//      * Creates MediaInfo object from MediaLoader
//      * @param mediaLoader
//      * @return MediaInfo object
//      */
//     public static MediaInfo mediaLoader(MediaLoader mediaLoader) {
//         return new MediaInfo().setLoader(mediaLoader);
//     }
// 
//     public static MediaInfo mediaLoader(MediaLoader mediaLoader, String description) {
//         return new MediaInfo(mediaLoader, description);
//     }
// 
//     public MediaLoader getLoader() {
//         return mLoader;
//     }
// 
//     public MediaInfo setLoader(MediaLoader loader) {
//         mLoader = loader;
//         return this;
//     }
// 
//     public String getDescription() {
//         return description;
//     }
// }


// Path: library/src/main/java/com/veinhorn/scrollgalleryview/builder/MediaHelper.java
import com.veinhorn.scrollgalleryview.MediaInfo;
import java.util.List;

package com.veinhorn.scrollgalleryview.builder;



/**
 * MediaHelper is a specification which is used for building DSLs. It includes a bunch of methods
 * which help to simplify adding media to your gallery
 */
public interface MediaHelper {
    /**
     * Creates MediaInfo object based on image url
     * @param url is an image URL address
     * @return MediaInfo object
     */
    MediaInfo image(String url);

    /**
     * Creates MediaInfo object w
     * @param url is an image URL address
     * @param description of an image
     * @return MediaInfo object
     */
    MediaInfo image(String url, String description);