~/talk

Permissions with Headless Fragment

TalkinPortugueseat Android DevConference 2017 · on Thursday, 2017-08-24· [android]
links:none on file
slides:none on file

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

  1. 0:00Permissions with Headless Fragment
  2. 1:24Insecure permissions risks
  3. 4:36Code duplication issues
  4. 7:05Permission denied flows
  5. 11:57App permission control
  6. 16:05Persistent permissions solutions
  7. 19:32Functional permission flows
  8. 22:10Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.