android / android/health-samples

ExerciseSampleCompose should handle configChanges

Open Beginner friendly
#329 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
346
Forks
183
PR merge metrics
No merged PRs in 30d

Description

ExerciseSampleCompose should probably handle configChanges to avoid activity recreation

https://github.com/android/health-samples/blob/main/health-services/ExerciseSampleCompose/app/src/main/AndroidManifest.xml

From https://developer.android.com/guide/topics/resources/runtime-changes#react-changes-compose

Contributor guide

Open the contributing guide

Research direction

Start with health-services/ExerciseSampleCompose/app/src/main/AndroidManifest.xml and read the linked Android runtime-changes guidance for configChanges. Confirm which configuration changes should be handled so the activity is not recreated, then verify the manifest reflects that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.