mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
Revert "fix(android): attempt to workaround duplicate item keys bug"
Doesn't seem to have resolved the issue.
This reverts commit 9c07169b1b
.
This commit is contained in:
parent
ecad03e749
commit
742a30bfdd
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ fun NetworkPosts(
|
|||
LazyColumn(state = listState) {
|
||||
items(
|
||||
count = lazyPagingItems.itemCount,
|
||||
key = lazyPagingItems.itemKey { item -> "${item.shortId}-${item.hashCode()}" },
|
||||
key = lazyPagingItems.itemKey { it.shortId },
|
||||
contentType = lazyPagingItems.itemContentType { "LobstersItem" },
|
||||
) { index ->
|
||||
val item = lazyPagingItems[index]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue