Sunday, September 4, 2016

Why does GWSFluidx work equally on Android 4.x and Android 5.x?

So why does the trick of off-loading the adapter work of Recyclerview form UI thread to non-UI thread work equally well on Android 4.x which is only one UI thread and Android 5.x which has an UI thread and a RenderThread?

What is common to Android 4.x, Android 5.x, Android 6x, and Android 7.x is that the scrolling part of the UI process is on the UI thread. By taking the aapting part of recyclerview off of theUI thread I end up not blocking the process that does the scrolling.