0

I intend to write permission in Fragment Kotlin. I have found a simple code for activity and decided to convert into my fragment but I have a error "mismatch". Can you assist me to solve this issue?textenter image description here

I have thought to initialize new context for this fragment.

emad
  • 1

1 Answers1

0

you could replace this keyword with requireActivity()

ninhnau19
  • 695
  • 1
  • 3
  • 16