Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add check for disposed gesture detector on VisualElementRenderer #706
Description of Change
Gestures on view cells which are in the process of being destroyed (e.g., if the ListView's underlying data source is being replaced) can end up in a race condition where the underlying Android gesture detector is already disposed before they are handled. This change adds a check for this condition to avoid a crash.
No UI tests for this; the timing on simulated gestures isn't accurate enough to consistently reproduce this issue.