MvvmCross-UserInteraction icon indicating copy to clipboard operation
MvvmCross-UserInteraction copied to clipboard

ConfirmAsync blocks if dismissed by clicking outside it.

Open trampster opened this issue 8 years ago • 1 comments

ConfirmAsync blocks indefinitely on android if dialog dismissed by clicking outside it.

This is because the task result is only set if the positive or negative buttons are clicked, if the user dismisses the dialog by clicking outside it then the async call will never complete.

trampster avatar Dec 05 '16 04:12 trampster

Based on the docs, I am guessing setCancelable(false) or hook up a setOnCancelListener to return the same as the negative button.

brianchance avatar Dec 12 '16 19:12 brianchance