Permissions with Headless Fragment
summary
Explains how to request and manage Android runtime permissions using a headless (non-UI) Fragment to encapsulate permission logic. Covers using the Fragment API to perform permission checks, request dialogs, and handle callbacks without tying permission flow to an Activity UI. Targets Android permission handling with a reusable, lifecycle-aware component implemented as a headless Fragment.
AI-written summary · about
chapters (8)
- 0:00Permissions with Headless Fragment
- 1:24Insecure permissions risks
- 4:36Code duplication issues
- 7:05Permission denied flows
- 11:57App permission control
- 16:05Persistent permissions solutions
- 19:32Functional permission flows
- 22:10Closing remarks
related talks
22mHow to ask permission, the clean way
46mAndroid Jetpack: How to smartly use fragments in your UI
41m"Mother, May I?" Asking for Permissions
36mStreamlining Permission Request in Jetpack Compose
33mFear No Fragments
13mFoster user trust by adopting privacy-respecting permission workflows
18mFragments: The good (non-deprecated) parts
30mFragments: What are they good for.
