chanjungskim
@Composable fun SupplementSearchScreen( onSearch: (String) -> List<Vitamin>, updateRecentAddedSupplementList: List<Vitamin> ) { LazyColumn( modifier = Modifier .fillMaxSize() ) { item{ SupplementSearchResultCard(someList) } } } @Composable fun SupplementSearchScreen(list:List<SomeList>){ ContentCard( modifier = Modifier.fillMaxWidth() ) { Text( text = "Hello World", fontSize = 16.sp, color = Color.Black ) LazyColumn( modifier = Modifier .fillMaxWidth() .wrapContentHeight() ) { items(list){ resultItem -> SearchResultItem(resultItem) } } } }
A modern programming language that makes developers happier.