Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Add null check to OnActionItemClickedImpl #10075

Merged
merged 1 commit into from
Mar 26, 2020
Merged

Add null check to OnActionItemClickedImpl #10075

merged 1 commit into from
Mar 26, 2020

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Mar 24, 2020

Description of Change

Add a null check in OnActionItemClickedImpl. If items are in the process of being added/removed from the list, it's possible to have the context menu tap race against the actual existence of the underlying Cell.

Issues Resolved

API Changes

None

Platforms Affected

  • Android

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

This one is painful to test; it's difficult to get the timing right in the original repro, and it requires tapping around in a way that's too fast for a UI test to replicate. Tooks a stab writing a platform test, but the tight coupling between the Android ListView implementation and the OS stuff for context menus makes it a very involved task.

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@samhouts samhouts added p/Android a/listview Problems with the ListView/TableView i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often t/bug 🐛 labels Mar 24, 2020
@samhouts samhouts added this to the 4.6.0 milestone Mar 31, 2020
@hartez hartez deleted the fix-9786 branch June 18, 2020 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/listview Problems with the ListView/TableView i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often p/Android t/bug 🐛
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants