Skip to content

2.3.2

Compare
Choose a tag to compare
@alex-tiurin alex-tiurin released this 25 Feb 11:47
· 40 commits to master since this release
dd15bc8

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