Created
August 19, 2021 17:28
-
-
Save rubenquadros/a872ab37f541e00d421a3da9ac3c0e41 to your computer and use it in GitHub Desktop.
Initial home screen
This file contains 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
@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