saket / InboxRecyclerView

Build expandable descendant navigation, inspired by Google Inbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collapsing won't work when battery saving is enabled

MuriloCalegari opened this issue · comments

Hi,

I've noticed that if the system is in battery saving mode (Android default one, Samsung one didn't affect this) the page won't collapse, as you can see in this vídeo:

youtu.be/iCS-hlQqods

I can see that some animations in other libraries are just being skippedg, so I believe that battery saving disables them and breaks InboxRecyclerView...

Found this warning on Logcat that only appears when battery saving mode is enabled:

W/OpenGLRenderer: Incorrectly called buildLayer on View: ExpandablePageLayout, destroying layer...

Hi, @saket, is there a possibility to fix this? Apparently batter saving mode disable some logic around ObjectAnimator and ValueAnimator...

Sorry for taking so long to respond. I was moving to a new country, new job and a new home. This should be fixed in the next release