How do I fill the remaining space in the Lazy Column when using Android Compose?

Solution 1:

Column(modifier = Modifier.fillMaxSize()) {
    TopBar()
    LazyColumn(modifier = Modifier.weight(1f,true)){
        //List
    }
    Column(Modifier.verticalScroll(rememberScrollState()),
        verticalArrangement = Arrangement.Bottom) {
        //Footer
    }

}