Correct the appearance of the grid and add automatic calculation of fragments layouts

This commit is contained in:
RicomenPL
2017-07-19 15:47:30 +02:00
parent 13e5b69e10
commit cdb9f97904
7 changed files with 27 additions and 15 deletions

View File

@ -34,7 +34,11 @@ public class ImageAdapter extends RecyclerView.Adapter<ImageAdapter.ViewHolder>
public void onBindViewHolder(ImageAdapter.ViewHolder viewHolder, int i) {
viewHolder.tv_android.setText(lista.get(i));
Picasso.with(context).load(R.drawable.sample_0).into(viewHolder.img_android);
Picasso.with(context)
.load(R.drawable.sample_0)
.noFade()
.into(viewHolder.img_android);
}
@Override