Skip to content

Replaces: Unsplash image url with static images [Macro benchmark sample]#42

Merged
AjeshRPai merged 1 commit into
mainfrom
bugfix/unsplash-url
Jun 6, 2025
Merged

Replaces: Unsplash image url with static images [Macro benchmark sample]#42
AjeshRPai merged 1 commit into
mainfrom
bugfix/unsplash-url

Conversation

@AjeshRPai

Copy link
Copy Markdown
Contributor

Key changes include:

  • Replacing imageUrl with @DrawableRes imageRes for local image loading, removing the dependency on network calls for images.
  • Updating MainActivity to use enableEdgeToEdge() for drawing behind system bars.
  • Replacing WindowCompat.setDecorFitsSystemWindows(window, false) with enableEdgeToEdge().
  • Updating JetsnackMain to use safeDrawingPadding() and consumeWindowInsets() for proper handling of system insets.
  • Replacing deprecated Material 2 icons with Material 3 equivalents, including Icons.AutoMirrored.Outlined.ArrowBack.
  • Adding new drawable resources for local image loading.

Key changes include:
- Replacing `imageUrl` with `@DrawableRes imageRes` for local image loading, removing the dependency on network calls for images.
- Updating `MainActivity` to use `enableEdgeToEdge()` for drawing behind system bars.
- Replacing `WindowCompat.setDecorFitsSystemWindows(window, false)` with `enableEdgeToEdge()`.
- Updating `JetsnackMain` to use `safeDrawingPadding()` and `consumeWindowInsets()` for proper handling of system insets.
- Replacing deprecated Material 2 icons with Material 3 equivalents, including `Icons.AutoMirrored.Outlined.ArrowBack`.
- Adding new drawable resources for local image loading.
@AjeshRPai AjeshRPai requested a review from mlykotom June 6, 2025 09:50
@AjeshRPai AjeshRPai requested a review from a team as a code owner June 6, 2025 09:50
@AjeshRPai AjeshRPai merged commit 3dd9581 into main Jun 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants