What is wrong with this code related to list and filter and pagination? More details in the description

This page summarizes the projects mentioned and recommended in the original post on /r/android_devs

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • codelab-android-paging

    Jetpack Paging codelab

  • Consider these code taken from this GitHub reposiroty

  • architecture-components-samples

    Samples for Android Architecture Components.

  • I generally just advise not having an in-memory cache like this, as if you are using ViewModel, that's meant to be the cache, and repository is stateless. For some reason, people (including Google Dev Advocate Team) seem to not check the originator of the Jetpack Repository pattern which is https://github.com/android/architecture-components-samples/blob/2c19434f89e925b8bea56366faa0a197c5b90b96/GithubBrowserSample/app/src/main/java/com/android/example/github/repository/UserRepository.kt#L40-L41

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts