I had a bug where recomposition was pointlessly happening on list items in my lazyColumn when only 1 item was modified. The issue is fixed now, but in spirit of TDD I want to create an Android test that prevents it from happening in the future. However I haven’t found anything that’s like:
items.onChildAt(3).assertRecompositionCount(0)
items.onChildAt(4).assertRecompositionCount(1)
Does anyone know of anything to help me achieve this?