Vinay Gaba
03/19/2020, 5:50 AMVinay Gaba
03/19/2020, 5:51 AMsetContent {
AdapterListingScrollableComponent(getDataList())
}
@Composable
fun AdapterListingScrollableComponent(personList: List<Person>) {
AdapterList(data = personList) { person ->
Row(modifier = LayoutWidth.Fill + LayoutPadding(16.dp)) {
Card(shape = RoundedCornerShape(4.dp), color = Color.White,
modifier = LayoutWidth.Fill) {
Text(
person.name, style = TextStyle(
color = Color.Black,
fontSize = 20.sp,
textAlign = TextAlign.Center
), modifier = LayoutPadding(16.dp)
)
}
}
}
}
Vinay Gaba
03/19/2020, 5:53 AMKlaas Kabini
03/19/2020, 6:45 AMLeland Richardson [G]
03/19/2020, 6:39 PMLeland Richardson [G]
03/19/2020, 6:40 PMRyan Mentley
03/19/2020, 7:01 PMLeland Richardson [G]
03/19/2020, 7:36 PMVinay Gaba
03/21/2020, 12:04 AMVinay Gaba
03/28/2020, 4:16 AM