Style issue regarding lazy lists. In my lazy lists...
# compose
k
Style issue regarding lazy lists. In my lazy lists (e.g.
LazyColumn()
), I sometimes want to extract several items in a function. So I define
Copy code
fun LazyListScope.FooSection(...) { items....  }
and use it in my lazy lists
Copy code
LazyColumn { FooSection(...) }
However Android Studio complains the naming since
FooSection
is not a composable, I am wondering if this is not something I should do at the first place.
a
that is fine as a pattern, but yes, you need to use a lower case name