Thumbnail Bar State Manager
State manager for the thumbnail bar. This class is completely UI-independent and handles all business logic.
Key responsibilities:
Maintains immutable UI state via StateFlow
Processes UI events and updates state accordingly
Emits one-time effects via SharedFlow
Manages thumbnail rendering lifecycle
Handles page selection logic (single and double-page modes)
Manages layout calculations
This class is fully unit-testable as it has no Android UI dependencies.
Types
Link copied to clipboard
object Companion
Constants for ThumbnailBarStateManager.