Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Cancel loading of ratings when view is recycled

Jonathan Klee requested to merge 2964-u-cancel-jobs-properly into main

Description

Sometimes loading Exodus Privacy ratings did not work and ended up in http timeout. I suspect it happens because the recycler view is not cancelling properly the http request to load the rating.

I now cancel the job properly when a view is recycled.

Screenshots

Technical details

Tests

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/2964

10 commandments of code reviews

👪 ❤️ https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Edited by Jonathan Klee

Merge request reports

Loading