enableAndRefresh
Refreshes a category after a permission decision, or marks it LoadState.Denied.
If the category needs no permission it refreshes directly; otherwise it refreshes only when the permission is (now) granted.
Parameters
category
Category to (re)collect.
granted
Whether the just-completed permission request was granted.