Question: When would you use the `ActivityCompat.shouldShowRequestPermissionRationale()` function?

  1. when a user first opens your app and you want to provide an explanation for the use of a given permission
  2. when a user has previously denied the request for a given permission and selects "Tell me more"
  3. when a user has previously denied the request for a given permission and you want to provide an explanation for its use
  4. when a user has previously denied the request for a given permission and selected "Don't ask again," but you need the permission for your app to function

Answer: The correct answer of the above question is Option D:when a user has previously denied the request for a given permission and selected "Don't ask again," but you need the permission for your app to function