title: How to observe changed items from Room with Paging 3 library in Android
body: <p>I have a list of data which is loading by using <code>PagingSource</code>.</p>
  <p>Here is my code in DAO:</p>
  <pre><code>  @Query(&quot;SELECT * FROM Transport&quot;)
    fun getAllTransportsPaged(): PagingSource&lt;Int, Transport&gt;
  </code></pre>
  <p>I am getting the paged data with a <code>Flow</code> with this:</p>
  <pre><code>Pager(config = PagingConfig(
            pageSize = 100,
            enablePlaceholders = true,
        )) {
          transportsDao.getAllTransportsPaged()
        }.flow
         .cachedIn(viewModelScope + Dispatchers.IO)
  </code></pre>
  <p>I have another function which is updating an item in a local database:</p>
  <pre><code>@Query(&quot;UPDATE Transport SET favorite = :favorite WHERE id = :id&quot;)
  suspend fun changeFavorite(id: Int, favorite: Boolean)
  </code></pre>
  <p>After calling this function the whole data in the list is starting to load from the beginning.</p>
  <p>Is there a way to get only changed data with paging library?</p>