I deduced that my slow list scrolling was due to OnPreDraw having to be called when you scrolled through the list the first time before the listener was removed. Since we already have the parent view with the correct dimensions in enableFor() we can just do a measurement call to find out the height of our hidden view and add it to the stack. This removes the overhead from OnPreDraw and still keeps the Min API Level at 1.
I deduced that my slow list scrolling was due to OnPreDraw having to be called when you scrolled through the list the first time before the listener was removed. Since we already have the parent view with the correct dimensions in enableFor() we can just do a measurement call to find out the height of our hidden view and add it to the stack. This removes the overhead from OnPreDraw and still keeps the Min API Level at 1.