@Override
public View getView(int position, View convertview, ViewGroup parent) {
ImageView img;
if (convertview == null){
img = new ImageView(context);
convertview = img;
img.setPadding(10,10,10,10);
}else {
img =(ImageView)convertview;
}
Picasso.with(context).load(items[position]).placeholder(R.drawable.image)
.resize(320,320)
.into(img);
return convertview;
}