Skip to main content

LIST_SCROLL_ID

Static LIST_SCROLL_ID 

Source
pub static LIST_SCROLL_ID: LazyLock<Id>
Expand description

The scrollable holding the list of the view on show: a feed’s, a thread’s.

One id for them all, because to the runtime they are one widget. Views are laid out alike, and a scrollable that turns up where another was takes over its state, its id (libcosmic’s widget tree hands the old id to the new widget) and how far it was scrolled. A view that wants its list somewhere says so by scrolling this, every time it comes on show.