2.3.2
What's Changed
Compose LazyList improvements in #59
Add
- new methods to interact with LazyList item by position:
firstItem()
item(position: Int)
getItem(position: Int): T
getFirstItem(): T
to use these methods you have to configure positionPropertyKey
in application code and specify it in composeList
declaration.
composeList(marcher =..., positionPropertyKey = ListItemPositionPropertyKey)
Read new wiki page for details - Efficient Strategies for Locating Items in Compose LazyList
- new method for
UltronComposeList
fun assertItemDoesNotExist(itemMatcher: SemanticsMatcher)
Removed
method UltronComposeListItem().assertDoesNotExist()
Full Changelog: 2.3.1...2.3.2