void (@NotNull T view, @NotNull String viewName, boolean showByDefault) { addView(view, viewName); String storedState = getStoredState(); if (storedState != null && (storedState.equals(viewName)) || storedState == null && showByDefault) { showView(viewName); } }