Skip to content

Migrate image loading from Picasso to Coil#11238

Merged
Stypox merged 13 commits intoTeamNewPipe:refactorfrom
Isira-Seneviratne:Coil
Aug 7, 2024
Merged

Migrate image loading from Picasso to Coil#11238
Stypox merged 13 commits intoTeamNewPipe:refactorfrom
Isira-Seneviratne:Coil

Conversation

@Isira-Seneviratne
Copy link
Copy Markdown
Member

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Migrate the image loading functionality from Picasso to Coil. Picasso has not had a new release for some time, and it has been recommended to move to other libraries. Coil also allows the notification icon loading to be greatly simplified, and it provides default configurations for its memory and disk caches.
  • Remove the image indicator toggle from the settings as Coil does not have that functionality. Logging has been enabled instead for debug builds.
  • Enable RGB-565 support for low-RAM devices only.
  • This change is needed for PR Migrate comment fragments to Jetpack Compose #11060 as it makes use of Coil's Compose functionality.

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions bot added the size/giant PRs with more than 750 changed lines label Jul 5, 2024
@Isira-Seneviratne Isira-Seneviratne requested a review from Stypox July 5, 2024 03:12
Copy link
Copy Markdown
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for taking so long to review :-(
Looks mostly good to me, thank you!

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Stypox Stypox merged commit d336f4c into TeamNewPipe:refactor Aug 7, 2024
@Isira-Seneviratne Isira-Seneviratne deleted the Coil branch August 7, 2024 23:27
@ShareASmile ShareASmile added the rewrite Issues and PRs related to rewrite label Oct 5, 2024
@dustdfg
Copy link
Copy Markdown
Contributor

dustdfg commented Jan 6, 2026

Is there any reason it lend only to refactor?

@theimpulson theimpulson mentioned this pull request Feb 21, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rewrite Issues and PRs related to rewrite size/giant PRs with more than 750 changed lines

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants