Skip to content

Instantly share code, notes, and snippets.

@OliverVicente
Last active February 10, 2025 21:49
Show Gist options
  • Select an option

  • Save OliverVicente/171ac63c6d3d8456388e7340f2de437b to your computer and use it in GitHub Desktop.

Select an option

Save OliverVicente/171ac63c6d3d8456388e7340f2de437b to your computer and use it in GitHub Desktop.
Migrated OBookScaffold menu items
val menuItems = getMenuItems(
onNavigateToBook = {
navController.navigate(BookSearch)
selectedIndex = it
},
onNavigateToCart = {
navController.navigate(ShoppingCart)
selectedIndex = it
},
onNavigateToUser = {
navController.navigate(UserProfile)
selectedIndex = it
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment