ponewheel / android-ponewheel

pOneWheel Android app
MIT License
72 stars 25 forks source link

Invalidate Toolbar menu on UI thread #79

Closed audkar closed 6 years ago

audkar commented 6 years ago

Issue: on first app start toolbar is hidden under StatusBar. Reason: events from observable was consumed on different thread. So initial invalidateMenuOption() call was consumed even before layout is measured. Solution: handle events explicitly on UI thread.

Before After