@@ -0,0 +1,1675 @@
+package br.com.geconp.geconp.imgadapter;%0A%0Aimport android.content.Context;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.BaseAdapter;%0Aimport android.widget.ImageView;%0Aimport android.widget.TextView;%0A%0Aimport br.com.geconp.geconp.R;%0A%0A/**%0A * Created by Marcio on 06/05/2015.%0A */%0Apublic class ImageCartaoAdapter extends BaseAdapter %7B%0A    private Context c;%0A    private int%5B%5D imagens;%0A    private String%5B%5D texto;%0A%0A    public ImageCartaoAdapter(Context c, int%5B%5D imagens, String%5B%5D texto) %7B%0A        this.c = c;%0A        this.imagens = imagens;%0A        this.texto = texto;%0A    %7D%0A%0A    @Override%0A    public int getCount() %7B%0A        return imagens.length;%0A    %7D%0A%0A    @Override%0A    public Object getItem(int position) %7B%0A        return c.getResources().getDrawable(imagens%5Bposition%5D);%0A    %7D%0A%0A    @Override%0A    public long getItemId(int position) %7B%0A        return imagens%5Bposition%5D;%0A    %7D%0A%0A    @Override%0A    public View getView(int position, View convertView, ViewGroup parent) %7B%0A        View grid;%0A        LayoutInflater inflater = (LayoutInflater) c%0A                .getSystemService(Context.LAYOUT_INFLATER_SERVICE);%0A        if (convertView == null) %7B%0A            grid = new View(c);%0A            grid = inflater.inflate(R.layout.grid_cartao, null);%0A            TextView textView = (TextView) grid.findViewById(R.id.grid_textCartao);%0A            ImageView imageView = (ImageView)grid.findViewById(R.id.grid_imageCartao);%0A            textView.setText(texto%5Bposition%5D);%0A            imageView.setImageResource(imagens%5Bposition%5D);%0A        %7D else %7B%0A            grid = (View) convertView;%0A        %7D%0A        return grid;    %7D%0A%7D%0A

Create ImageCartaoAdapter.java