android / android/camera-samples

Sample improvements

Open
#393 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
5.5k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

- use androidx library for HdrViewFinder
- remove jcenter() from CameraXTFlit
- use view binding for the repo.
- remove the deprecated immersive setting.
- replace postDelayed with more reliable APIs called out in. https://github.com/android/camera-samples/pull/379#discussion_r677589618. (it's more reliable to use ViewTreeObserver or the methods doOnPreDraw/doOnLayout from KTX. See https://developer.android.com/kotlin/ktx)

Contributor guide

Open the contributing guide

Research direction

Start by locating HdrViewFinder and CameraXTFlit, then review the linked pull request discussion about postDelayed and the Android KTX guidance. Done means the listed modernization items are addressed across the repository: AndroidX usage, no jcenter(), view binding, no deprecated immersive setting, and a more reliable replacement for postDelayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.