Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Initial home screen
@Composable
fun HomeScreen(
openSearch: () -> Unit,
openFilters: () -> Unit,
homeViewModel: HomeViewModel = viewModel(),
) {
Scaffold(topBar = {
HomeAppBar(
title = "Epic World",
openSearch = openSearch,
openFilters = openFilters
)
},
content = { GameListing(homeViewModel.getAllGames()) }
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment