arkui

Navigation

Where the places are: a sidebar on the desktop, tabs on a phone. The place under the cursor, or the tab that is lit, is the page.

Desktop

arkui::sidebar

A sidebar under headings, with counts, the cursor on its second place.A sidebar under headings, with counts, the cursor on its second place.
A sidebar under headings, with counts, the cursor on its second place.

arkui::sidebar

A column of places down the left of a window, grouped under headings; the one under the cursor is the page beside it.

Rules

rust/arkui/src/sidebar.rs

Mobile

Where

  • ui/Tabs.kt: TabStack, Reselect, LocalReselect

How

  • TabStack keeps each tab's content alive while another is shown, each with its Reselect in LocalReselect.
  • Reselect.ask() is the lit tab tapped again.

Nothing shared for this on iOS yet.