Nat Strangerweather
01/08/2023, 9:38 PMitems(state.newsFeedItems) { item ->
ResultsChip(item, navController)
}
The newsFeedItems
come from a room database. When I click on a ResultsChip
I get the corresponding item in my next screen. When I navigate back and click on another ResultsChip
for some reason I get the item of the first chip in my next screen. Is there something when navigating back that remembers
the previous item? Why does clicking on a second chip not yield the second chip item but the first one's?zt
01/09/2023, 6:15 AMNat Strangerweather
01/09/2023, 9:12 AM