lbryio / lbryio/lbry-android

Library Page has Long Load Time on Relaunch

Open
#1,090 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.4k
Forks
110
PR merge metrics
No merged PRs in 30d

Description

**DESCRIPTION:**

If the user closes the app, but leaves the daemon running, the Library page will take around 20 seconds to load its items when re-launching the app.

-----

**REPRO STEPS:**
1) Install and Launch LBRY 0.16.11 on Android 8.1.0
2) Download multiple items
3) Tap the Overview button and close LBRY (daemon keeps running)
4) Relaunch LBRY
5) Go to Library

**Results:** Downloads take a long time to load

**Expected:** Downloads load immediately

-----

**ENVIRONMENT:**

- LG V20
- Android 8.1.0
- LBRY 0.16.11

-----

**MEDIA:**

![LibraryLongLoad](https://user-images.githubusercontent.com/30788194/102659716-241fc280-4137-11eb-8974-4cfe56dc24fe.gif)

-----

**LBRY ADDRESS:**
bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b
mail@cahlen.org

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Library page and reproduce the delay on Android 8.1 with the daemon left running while the app is relaunched. Trace how downloaded items are loaded when opening Library, then verify that the existing downloads appear immediately after relaunch without the roughly 20-second wait.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.