// Path: app/src/main/java/com/mitechlt/tvportal/play/model/Movie.java
// public class Movie {
// 
//     /**
//      * The title of the movie
//      */
//     public String title;
// 
//     /**
//      * The link to the movie detail page
//      */
//     public String link;
// 
//     /**
//      * The link to the movie's image
//      */
//     public String imageUri;
// 
//     /**
//      * The rating of this movie (out of 100)
//      */
//     public int rating;
// 
//     /**
//      * The year this movie was released
//      */
//     public String year;
// 
//     /**
//      * The series of "|" separated genres that this movie belongs to
//      */
//     public String genres;
// 
// 
//     /**
//      * @param title    the title of the movie
//      * @param link     the link to the movie detail page
//      * @param imageUri the link to the movie's image
//      * @param rating   the rating of this movie
//      * @param year     the year this movie was released
//      * @param genres   the series of "|" separated genres that this movie belongs to
//      */
//     public Movie(String title, String link, String imageUri, int rating, String year, String genres
//     ) {
//         this.title = title;
//         this.link = link;
//         this.imageUri = imageUri;
//         this.rating = rating;
//         this.year = year;
//         this.genres = genres;
//     }
// }


import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.RatingBar;
import android.widget.TextView;
import com.mitechlt.tvportal.play.R;
import com.mitechlt.tvportal.play.model.Movie;
import com.squareup.picasso.Picasso;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
package com.mitechlt.tvportal.play.adapters;




public class MovieAdapter extends BaseAdapter {

    private final static String TAG = "MovieAdapter";

    /**
     * The data used in the Adapter
     */
// Path: app/src/main/java/com/mitechlt/tvportal/play/model/Movie.java
// public class Movie {
// 
//     /**
//      * The title of the movie
//      */
//     public String title;
// 
//     /**
//      * The link to the movie detail page
//      */
//     public String link;
// 
//     /**
//      * The link to the movie's image
//      */
//     public String imageUri;
// 
//     /**
//      * The rating of this movie (out of 100)
//      */
//     public int rating;
// 
//     /**
//      * The year this movie was released
//      */
//     public String year;
// 
//     /**
//      * The series of "|" separated genres that this movie belongs to
//      */
//     public String genres;
// 
// 
//     /**
//      * @param title    the title of the movie
//      * @param link     the link to the movie detail page
//      * @param imageUri the link to the movie's image
//      * @param rating   the rating of this movie
//      * @param year     the year this movie was released
//      * @param genres   the series of "|" separated genres that this movie belongs to
//      */
//     public Movie(String title, String link, String imageUri, int rating, String year, String genres
//     ) {
//         this.title = title;
//         this.link = link;
//         this.imageUri = imageUri;
//         this.rating = rating;
//         this.year = year;
//         this.genres = genres;
//     }
// }


// Path: app/src/main/java/com/mitechlt/tvportal/play/adapters/MovieAdapter.java
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.RatingBar;
import android.widget.TextView;
import com.mitechlt.tvportal.play.R;
import com.mitechlt.tvportal.play.model.Movie;
import com.squareup.picasso.Picasso;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

package com.mitechlt.tvportal.play.adapters;




public class MovieAdapter extends BaseAdapter {

    private final static String TAG = "MovieAdapter";

    /**
     * The data used in the Adapter
     */
    private final List<Movie> mData = new ArrayList<Movie>();