You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KTX permission dispatcher does not support passing arguments to functions that require permissions.
For instance, we can do this with annotation-style:
Overview
KTX permission dispatcher does not support passing arguments to functions that require permissions.
For instance, we can do this with annotation-style:
but it's not possible with KTX-style, because
requiresPermission
is a pre-defined lambda that must be constructed on activity creation.Expected
Would be nice to have the possibility to pass arguments to permission-requiring functions.
The text was updated successfully, but these errors were encountered: