dataChanges 
  Create a InitialValueFlow of data change events on the RecyclerView.Adapter instance.
Note: Created flow keeps a strong reference to the RecyclerView.Adapter instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
adapter.dataChanges()
    .onEach { adapter ->
         // handle data changed
    }
    .launchIn(uiScope)Content copied to clipboard