Skip to content

Instantly share code, notes, and snippets.

@aqua30
Created May 1, 2023 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aqua30/fc7faf5bc7615a4170eb5d102a32c67e to your computer and use it in GitHub Desktop.
Save aqua30/fc7faf5bc7615a4170eb5d102a32c67e to your computer and use it in GitHub Desktop.
LazyColumn(
modifier = Modifier.padding(horizontal = 16.dp),
horizontalAlignment = Alignment.Start,
) {
item {
Spacer(modifier = Modifier.height(4.dp))
}
items(
items = chatListItems,
key = { chatData ->
chatData.chatId
}
) { chatData ->
ChatListItem(chatData)
}
item {
Spacer(modifier = Modifier.height(75.dp))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment