1

According to this SO answer, we can make a reusable LazyColumn composable by using generics. But, if we need to use the item's id value as the key, using T.id throws an unresolved reference error. How can we specify the id for key values if using generics in the LazyColumn?

Raj Narayanan
  • 2,443
  • 4
  • 24
  • 43

0 Answers0