private void adaptBreadCrumbVisibility(final boolean hideBreadCrumb) {
        if (isSplitScreen()) {
            if (breadCrumbToolbar != null && breadCrumbShadowView != null) {
                breadCrumbToolbar.setVisibility(hideBreadCrumb ? View.GONE : View.VISIBLE);
                breadCrumbShadowView.setVisibility(hideBreadCrumb ? View.GONE : View.VISIBLE);
            }
        } else {
            if (toolbar != null && toolbarShadowView != null) {
                toolbar.setVisibility(hideBreadCrumb ? View.GONE : View.VISIBLE);
                toolbarShadowView.setVisibility(hideBreadCrumb ? View.GONE : View.VISIBLE);
            }
        }
    }
private void adaptBreadCrumbVisibility ( final boolean hideBreadCrumb ) { if ( isSplitScreen ( ) ) { if ( breadCrumbToolbar != null && breadCrumbShadowView != null ) { breadCrumbToolbar . setVisibility ( hideBreadCrumb ? View . GONE : View . VISIBLE ) ; breadCrumbShadowView . setVisibility ( hideBreadCrumb ? View . GONE : View . VISIBLE ) ; } } else { if ( toolbar != null && toolbarShadowView != null ) { toolbar . setVisibility ( hideBreadCrumb ? View . GONE : View . VISIBLE ) ; toolbarShadowView . setVisibility ( hideBreadCrumb ? View . GONE : View . VISIBLE ) ; } } }
Adapts the visibility of the toolbar, which is used to show the breadcrumb of the currently
selected navigation preference.

@param hideBreadCrumb
True, if the toolbar, which is used to show the bread crumb of the currently selected
navigation preference, should be hidden, false otherwise