Closed mpschahal16 closed 4 years ago
This lag was happening because of excessive read in UI thread.
So separated the read operations in non UI thread and displaying them in UI thread.
Tested On Asus max pro m1
No Crash. Now navigation bar does't lag while opening or scrolling when current fragment is Overall
source : https://github.com/SmartPack/SmartPack-Kernel-Manager/blob/2c786315d25eb5a02394499c600d64ff3fb751e3/app/src/main/java/com/smartpack/kernelmanager/fragments/RecyclerViewFragment.java#L796
Signed-off-by: Manpreet Singh mpschahal16@gmail.com
@mpschahal16 Thank you very much for your work. I'll cherry-pick your commit to the beta branch before merging it to the master branch. Edit: Done a5a52af83f82a46e778bfd1d1c1df3fb8c6b6405
This lag was happening because of excessive read in UI thread.
So separated the read operations in non UI thread and displaying them in UI thread.
Tested On Asus max pro m1
No Crash. Now navigation bar does't lag while opening or scrolling when current fragment is Overall
source : https://github.com/SmartPack/SmartPack-Kernel-Manager/blob/2c786315d25eb5a02394499c600d64ff3fb751e3/app/src/main/java/com/smartpack/kernelmanager/fragments/RecyclerViewFragment.java#L796
Signed-off-by: Manpreet Singh mpschahal16@gmail.com