beeing toggled during the refresh task. I dont know exactly why it causes a crash in the RefreshView, I suspect since it changes the view tree while the refresh view is active.
I found that simply moving the refresh view to be the parent of both the collection and stateview mitgates this issue (only tested on a hardware pixel 3a).
This will ofcouse stop the StateView from overlapping the RefreshView, I'm not sure if thats okay or destroys the desired UI. If not, I hope this atleast helps in identifing the underlying issue.
Fixes #123 (or atleast gives a clue what the issue is)
After some investigation, I found that the crash is caused by the
beeing toggled during the refresh task. I dont know exactly why it causes a crash in the
RefreshView
, I suspect since it changes the view tree while the refresh view is active.I found that simply moving the refresh view to be the parent of both the collection and stateview mitgates this issue (only tested on a hardware pixel 3a).
This will ofcouse stop the
StateView
from overlapping theRefreshView
, I'm not sure if thats okay or destroys the desired UI. If not, I hope this atleast helps in identifing the underlying issue.