Apple guide implementation of TabbedView + Navigation

How may i implement a TabbedView with each tabs owning it's navigation logic within lists ?

Replies

    var body: some View {
        TabbedView {
            SomeView().tabItem {
                Image(systemName: "house")
                Text("View 1")
            }.tag(0)

            AnoterView().tabItem {
                Image(systemName: "dog")
                Text("View 2")
            }.tag(1)
        }
    }


where SomeView and AnotherView have a list in their body.