- Forum posts: 3
Mar 23, 2016, 2:01:58 PM via Website
Mar 23, 2016 2:01:58 PM via Website
From GIF you can check how it lags when I switch to left tab because here drawing of image is taking more time if I am not wrong. In other tab images are less so it has no lag but it will surely do, once RecyclerView adds more items (using an adapter). Each item is made using RelativeLayout have 2 TextView, ImageView and ImageButton.
I checked doing the same without loading any images - it works super fast without lag so now it's sure that drawing images is a problem here. I tried LruCache but it didn't solve the problem. Those two tabs are two fragments inside a ViewPager.
— modified on Mar 23, 2016, 4:02:58 PM