android-bottomsheet-viewpager icon indicating copy to clipboard operation
android-bottomsheet-viewpager copied to clipboard

Performance for normal use-case UIs

Open fm-eb opened this issue 5 years ago • 1 comments

Hi, your solution works better than any of the others, but all of them show the same problem: If you have real-world UIs that are a bit more complex than just a TextView, the swiping is quite laggy. I guess this is because of the use of reflection and the requestLayout() calls.

Do you have any input on this? Or any idea how to tackle this?

Thanks so far

fm-eb avatar Aug 07 '19 15:08 fm-eb

Update: I commented-out the requestLayout() call and everything still worked as expected, but without performance issues. Are you sure that the requestLayout is really needed? Could you maybe elaborate a situation where the UI fails without it?

muetzenflo avatar Aug 12 '19 15:08 muetzenflo