-
-
Save OliverVicente/171ac63c6d3d8456388e7340f2de437b to your computer and use it in GitHub Desktop.
Migrated OBookScaffold menu items
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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