these tricks :
                  
                  
                  setItemViewCacheSize .
                  
                  
                  setDrawingCacheEnabled .
                  
                  
                  setDrawingCacheQuality . 
                  
                  
                  setHasFixedSize . 
                  
                  
                  and use ContraintLayout for my complex UI .
                  
                  
                  but still there are some lags when scrolling .
                  
                  
                
First reason for lags is logic on binding viewholder
My onBindViewHolder is cheap .
Can you give link to your git ?
just a minute !
He also put a recyclerview in scrollview
https://gist.github.com/Dev-AliGhasemi/73f8877c7cc8d1a8fef6087c48f8f72e
no i don't do that in this situation .
Haha . It will be funny
Обсуждают сегодня