mihon/app/src/main
Two-Ai 4635e58405
Simplify PageHolder load Job (#9086)
Inline statusJob into loadJob, using supervisorScope to load the page
and track status changes in parallel.
- supervisorScope does not complete until both the child loadPage
  coroutine and statusFlow.collectLatest have completed.
- Cancelling supervisorScope cancels the child loadPage coroutine and
  statusFlow.collectLatest.
- Use supervisorScope instead of coroutineScope to let status
  collection continue if loadPage fails.

Inline progressJob into loadJob, using collectLatest's cancellation
to avoid cancelling the progressFlow collection explicitly.
- collectLatest cancels the previous action block when the flow
  emits a new value. This means the DOWNLOAD_IMAGE
  progressFlow.collectLatest gets automatically cancelled when
  statusFlow emits a new state.

Convert launchLoadJob to suspend function, move job launch to caller,
and rename as loadPageAndProcessStatus.
2023-02-15 22:24:55 -05:00
..
java/eu/kanade Simplify PageHolder load Job (#9086) 2023-02-15 22:24:55 -05:00
res Move Glance Widget to seperate module (#8989) 2023-01-26 17:53:24 -05:00
AndroidManifest.xml Fully utilize WorkManager for library updates (#9007) 2023-02-07 22:37:20 -05:00
baseline-prof.txt Update baseline profile 2023-01-07 12:03:17 -05:00
ic_launcher-web.png Add adaptive icon and a dev variant 2018-01-13 18:15:00 +01:00