dan.the.man
LazyColumn( modifier = Modifier.fillMaxSize(), ) { // My Books section item { Column(modifier = Modifier.fillMaxWidth()) { Text("My Books") LazyRow { items(books) { item -> // Each Item } } } } // Whishlisted Books title item { Text("Whishlisted Books", style = MaterialTheme.typography.h4) } // Turning the list in a list of lists of two elements each items(wishlisted.windowed(2, 2, true)) { item -> Row { // Draw item[0] // Draw item[1] } } }
item{}
Vitaliy Zarubin
// item or items? item { (0..10).forEach { } } (0..10).forEach { // item, no doubt item { } }
kevindmoore
Colton Idle
A modern programming language that makes developers happier.