I am trying to see if it is possible to create an observable, that would notify when action bar visibility changes.
Something in a way of
LiveData<Boolean> actionBarVisibility;
So that other UI can be updated when actionBar is shown/hidden? I found this little trick to identify the view visibility change events, but cannot figure out how to apply it to actionBar, since its view is not accessible to me.