Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

AjeshRPai
Copy link
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