Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class BookmarksState(val posts: List<Post> = emptyList(), val isLoadingInitial: Boolean = false, val isLoadingMore: Boolean = false, val isRefreshing: Boolean = false, val nextCursor: String? = null, val error: BookmarksError? = null, val isLoggedOut: Boolean = false)
Link copied to clipboard
class BookmarksViewModel(postsRepository: PostsRepository, authRepository: AuthRepository, bookmarkIdsStore: BookmarkIdsStore) : ViewModel
Functions
Link copied to clipboard
fun BookmarksListScreen(state: BookmarksState, onPostClick: (Post) -> Unit, onIntent: (BookmarksIntent) -> Unit, modifier: Modifier = Modifier, sharedTransition: SharedElementContext? = null)
Link copied to clipboard
fun BookmarksNavHost(onRootChanged: (Boolean) -> Unit, viewModel: BookmarksViewModel = koinViewModel())
Owns only this tab's Navigation 3 backstack and content - the bottom chrome (bottom nav bar / rail) lives one level up in MainShell, which decides whether to show it from onRootChanged: each NavHost reports whether it's currently showing its own root screen (backstack depth 1), so MainShell can hide the shared bottom bar while any tab is showing a pushed detail screen.