This PR prevents the action bar (search bar) from showing when the device is rotated while in route preview mode by hiding it as soon as the action bar is created (previously it wasnt hidden until the route was successfully fetched from the server). It also extracts out some logic for handling what happens when a route is successfully fetched and moves it into the MainPresenter/adds test coverage.
This PR prevents the action bar (search bar) from showing when the device is rotated while in route preview mode by hiding it as soon as the action bar is created (previously it wasnt hidden until the route was successfully fetched from the server). It also extracts out some logic for handling what happens when a route is successfully fetched and moves it into the
MainPresenter
/adds test coverage.Closes #765