Open ghost opened 10 years ago
Hi Fabian, thanks for helping out.
Unfortunately, I've tried your fix but the ListView sample still fails after an orientation change. What problem does it fix then?
I'm using a ViewPager as headerLayoutoverlay and a listview with a custom adapter
before i applied the fix, if i clicked an element from inside the viewpager (I have a gridview on each page), the layout got messed up.
the fix works for me even if i change the orientation and even if from inside the gridview when I set setSelection
Ill try the fix on your sample and then edit my answer
As I said before, the weird hide/show is now gone, but now, my listview onclicklisteeners are not working like they should..
I have to click them twice.. Looks like the up does not get updated..
Hey, uhm, could the problem with this has to do with the requestLayout?
soo, I got a solution to fix the problem where the background flashes to foreground if the app get's continued.
in Rootlayout just comment out
this.
After that it works like a charm for me :)
Sorry i did not send a pull request but I don't actually use git