title: Android Jetpack Compose mutableStateListOf not doing Recomposition
body: <p>So, I have a <code>mutableStateListOf</code> in <code>viewModel</code>:</p>
  <pre><code>var childTravellersList = mutableStateListOf&lt;TravellersDetails&gt;()
  </code></pre>
  <p><code>TravellersDetails</code> is a data class having a field called <code>error</code>.</p>
  <p>this <code>childTravellersList</code> is used in the UI as:</p>
  <pre><code>val list = remember{viewModel.childTravellersList}
  
  LazyColumn(state = lazyColumnState) {
      itemsIndexed(list) { index, item -&gt;
          SomeBox(show = if(item.error) true else false)
      }
    }
  </code></pre>
  <p>I have wrote a function in <code>viewModel</code> that updates <code>error</code> of TravellersDetails at given <code>index</code> of <code>childTravellersList</code> as:</p>
  <pre><code>fun update(index){
      childTravellersList[index].error = true
  }
  </code></pre>
  <p>So, whenever I call this function, the list should get updated.</p>
  <p>This updates the list, but UI recomposition is not triggered .
  Where am I doing wrong?</p>