Paging Library is an official library that can easily implement a paging process that divides large chunks of data into small chunks of data so that only the required amount of data can be loaded.
To show users large amounts of data such as recommended product data, without causing stress due to problems such as latency, PayPay Flea Market's Android app uses Paging 2.
After Paging 3 was released on May 5th, 2021, Paging 2 was deprecated. Therefore, migration to Paging 3 becomes necessary, and PayPay Flea Market is also implementing this migration process.
Rei Nagahama would like to share the matters which required special attention for the migration as well as the following three experiences.
・Fatal code that makes infinite API calls and how to deal with it
・Proprietary implementation around the database which made a problem for the migration
・Benefits of migrating State to StateAdapter and points to be considered