recyclerview.setHasFixedSize(true); recyclerView.setItemViewCacheSize(20); recyclerview.setDrawingCacheEnabled(true); recyclerview.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH); recyclerview.setAdapter(adapter); Add in adapter: Picasso.with(context) .load(file) .fit() .into(imageView);
No comments