@@ -0,0 +1,1100 @@
+package br.com.deyvidjlira.popularmovies.ui.adapters;%0A%0Aimport android.content.Context;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.ArrayAdapter;%0Aimport android.widget.ImageView;%0A%0Aimport com.squareup.picasso.Picasso;%0A%0Aimport java.util.List;%0A%0Aimport br.com.deyvidjlira.popularmovies.R;%0Aimport br.com.deyvidjlira.popularmovies.data.models.Movie;%0A%0A/**%0A * Created by Deyvid on 25/10/2016.%0A */%0Apublic class MovieAdapter extends ArrayAdapter%3CMovie%3E %7B%0A    public MovieAdapter(Context context, List%3CMovie%3E movies) %7B%0A        super(context, 0, movies);%0A    %7D%0A%0A    public View getView(int position, View convertView, ViewGroup parent) %7B%0A        Movie movie = getItem(position);%0A%0A        if (convertView == null) %7B%0A            convertView = LayoutInflater.from(getContext()).inflate(R.layout.movie_grid_item, parent, false);%0A        %7D%0A%0A        ImageView moviePoster = (ImageView) convertView.findViewById(R.id.movie_poster);%0A        Picasso.with(getContext()).load(movie.getImageURL()).into(moviePoster);%0A%0A        return convertView;%0A    %7D%0A%7D%0A

Create adapter for movie