LazyColumn compose return id is incorrect
I have a list with a few records. Every record has a city, country, date and id (its primary key). In dao, then repository I have function which accepts id. Finally display list it’s fine, but problem is when I click the record and display modal with this data. Id records is incorrect and the city name, country name etc. is incorrect.
Jetpack Compose StickyHeaders on the same line as an LazyColumn item
How can i can implement sticky headers like in Contacts?
I saw this implementation, but maybe there is a more concise solution?