title: Paging Library Filter/Search PageList<T>
body: <p>I am using the Android Paging Library like described here: <a href="https://developer.android.com/topic/libraries/architecture/paging.html" rel="nofollow noreferrer">https://developer.android.com/topic/libraries/architecture/paging.html</a></p>
  
  <p>But i also have an EditText for searching Countries by Name.</p>
  
  <p>How can i filter the results from the Paging library to display only matching Countries ?</p>
  
  <p>public final LiveData> countriesPagedList;</p>
  
  <pre><code>public AllCountriesViewModel(@NonNull Application application) {
      super(application);
      appRepository = new AppRepository(application);
  
  
  PagedList.Config config = new PagedList.Config.Builder()
          .setEnablePlaceholders(true)
          .setPageSize(30)
          .setInitialLoadSizeHint(10)
          .setPrefetchDistance(50)
          .build();
  
      countriesPagedList = new LivePagedListBuilder(appRepository.getAllCountries(),config).build();
  }
  </code></pre>