Skip to content

Commit

Permalink
[ANDROAPP-5869] Provide different keys for fixedStickyHeader
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo <[email protected]>
  • Loading branch information
Balcan committed Apr 25, 2024
1 parent e5192ff commit 352e3c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fun LazyListScope.fixedStickyHeader(
content: @Composable LazyItemScope.() -> Unit,
) {
if (fixHeader) {
stickyHeader(key, contentType = contentType, content = content)
stickyHeader("${key}_sticky", contentType = contentType, content = content)
} else {
item(key, contentType = contentType, content = content)
item("${key}_non_sticky", contentType = contentType, content = content)
}
}

0 comments on commit 352e3c0

Please sign in to comment.