Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Views are not scrolling smoothly.  RSS feed

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this big layout  which is not scrolling smoothly ,the layout consisting slideshow library, recyclerview within cardview and cardview within recyclerview(horizontal scroll like in playstore) each contains a dozen of 500*500 images and text  offline data ,all wrapped in Nestedscrollview at first and used but not worked , later i replaced that with a regular scrollview for figuring out myself and also tried using AysncTask too but ,failed at it  so my problem is for some reason the views are not scrolling smoothly and lags heavly.

 
dev goku
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just Found the answer, I thought using 500*500 image won't decrease performance ,guess i was wrong ,i had to redcue it to 100*100.
 
Did you just should on me? You should read this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!