How to wrap master detail layout into a TabPanel component?

Question on behalf of @stefan-sparse-array .

Is there a way to wrap a master detail layout into a TabPanel component, so i can use scenes to handle its content? Or maybe even some example code for that?

@stefan-sparse-array How are your activities organized? Do you plan on having one activity making up all the tabs of the tab panel? Can you elaborate on your usecase a bit more?

We have integrated the TabPanel widget long time ago. We wanted to use scenes for simplicity at first. However we quickly realized that we need an activity for each tab. We have a tree-table on one, a form-engine in the second and an overview-engine in the third tab. So we wrote a custom layout that controls sidebar region. That way we literally switch between multiple activities when changing the current tab. Any such activity is started when entering the top level activity, i.e. by means of clicking the respective main menu entry.

Via App-Model we specify all the aspects for each tab, especially its icon name and title. For runtime information like badge count and color and disabled flag, we require the activity representing the tab to have a separate dataholder. That way, custom sagas can update that information whenever required and our custom layout just reads that by means of redux selectors. This keeps the layout really out of all the business requirements that lead to badge count updates, etc.