I need to implement multiselect for LazyList, which will also change appBar content when list items are long clicked.
For ListView we could do that with just setting choiceMode to CHOICE_MODE_MULTIPLE_MODAL and setting MultiChoiceModeListener.
Is there a way to do this using Compose?

Add
selectedfield to some class representing the item. Then just compose proper code based on that field. In compose you don't have to look for someLazyColumnflag or anything like that. You are in control of the whole state of the list.The same can be said about the AppBar, you can do a simple if there, like
if (items.any { it.selected }) // display button