Last active
April 23, 2024 21:32
-
-
Save agugliotta/ba31e45358699ee369f3c27a1580d618 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 BookingList() { | |
var bookings by remember { | |
mutableStateOf<List<Bookings>>(emptyList) | |
} | |
LaunchedEffect(true) { | |
bookings = loadBookings() | |
} | |
LazyColumn { | |
items(bookings) { | |
//... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment