Obtainium icon indicating copy to clipboard operation
Obtainium copied to clipboard

Experiencing immense lag when refreshing the apps list

Open deminearchiver opened this issue 1 month ago • 5 comments

Prerequisites

This might be a feature request actually, but I think this problem is leaning more towards a bug.

Possibly related feature request: #579.

Describe the bug

The app experiences immense lag and freezing behavior.

I haven't looked at the implementation yet, but have a few ideas of why this might be happening.

The probable reason is that Obtainium is NOT using Dart Isolates to fetch the data in parallel to the main (UI or platform, they're merged now duh) thread.

To Reproduce

Steps to reproduce the behavior:

  1. Add at least a few apps, the more apps - the more noticeable the lag will be as data loading in AppsPage is sequential (one by one) or whatever.
  2. Open Obtainium
  3. Go to the "Apps" page
  4. Pull to refresh
  5. See the problem

Screenshots and Logs

Recorded on a Pixel 7 Pro running Android 16 QPR1.

https://github.com/user-attachments/assets/45dce54b-35a8-46ee-a029-28cd040f16e6

Please complete the following information:

  • Device: Google Pixel 7 Pro (cheetah)
  • OS: Android 16 QPR1 (BP3A.251005.004.B2)
  • Obtainium Version: 1.2.8+2324

Additional context

I've been wanting to make a PR focusing on app's stability and performace, but there is so much work that making granular changes is almost impossible. Thus I decided to create a hard fork of Obtainium to make my own changes without worrying about code style, formatting and build process.

I don't really want to work on this issue, but if you like I could try to make a PR.

deminearchiver avatar Nov 18 '25 17:11 deminearchiver