Skip to content

feat(android) - url function support in backgroundImage - #58247

Draft
intergalacticspacehighway wants to merge 1 commit into
react:mainfrom
intergalacticspacehighway:background-image-url-android
Draft

feat(android) - url function support in backgroundImage#58247
intergalacticspacehighway wants to merge 1 commit into
react:mainfrom
intergalacticspacehighway:background-image-url-android

Conversation

@intergalacticspacehighway

@intergalacticspacehighway intergalacticspacehighway commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary:

Recreated from #54994, which was auto-closed when my fork was deleted. GitHub does not allow reopening a PR whose head repository is gone. Rebased onto current main.

How:

Uses Fresco's image pipeline to fetch the image in BackgroundImageURLLoader. Copies the bitmap from the fetched resource and draws it in the BackgroundDrawable canvas using drawBitmap.

Changelog:

[ANDROID] [ADDED] - url support with backgroundImage

Test Plan:

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 30, 2026
@intergalacticspacehighway
intergalacticspacehighway marked this pull request as draft August 30, 2026 13:05
copy bitmap on background thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant