emilsjolander / StickyListHeaders

An android library for section headers that stick to the top
Apache License 2.0
5.51k stars 1.52k forks source link

access to mSelectorPosition and mSelectorRect will be removed by the Android Framework #497

Open yigit opened 5 years ago

yigit commented 5 years ago

Hi, This library is accessing 2 private APIs from AbsListView in WrapperViewList. Apps targeting API Q+ will not be able to access those fields via reflection anymore. These fields are not designed to be changed outside the class and is likely to cause problems. We recommend using RecyclerView going forward which provides necessary APIs to implement sticky headers. As far as I can see, the code seems to handle not being able to access these fields properly but just wanted to give a heads up.

shiqos commented 3 years ago

Hi @yigit , Have you solved it?