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

[Android] Fix NRE When Scrolling ListView and Item With Context Actions Is Selected #310

Merged
merged 2 commits into from Oct 17, 2016

Conversation

jimmgarrido
Copy link
Contributor

@jimmgarrido jimmgarrido commented Aug 19, 2016

Description of Change

This fixes an NRE that was being thrown when scrolling the ListView when an item with context actions was selected. It turns out this bit of code was being called after all contrary to the original comment.

Bugs Fixed

API Changes

None

Behavioral Changes

Doesn't appear to be any. Removing the code doesn't seem to affect the cell rendering.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard
  • Consolidate commits as makes sense

@dnfclas
Copy link

dnfclas commented Aug 19, 2016

Hi @jimmgarrido, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@rmarinho
Copy link
Member

Can you add a UITest?

@dnfclas
Copy link

dnfclas commented Aug 28, 2016

@jimmgarrido, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, DNFBOT;

@jassmith
Copy link

Need to dig through history and see why this was added.

@rmarinho
Copy link
Member

rmarinho commented Sep 27, 2016

@jassmith it was in your fix for https://bugzilla.xamarin.com/show_bug.cgi?id=39476 here https://github.com/xamarin/Duplo/pull/3698

@jimmgarrido can you check if this doesn't regress this bug again ?! Thanks

@jimmgarrido
Copy link
Contributor Author

@rmarinho This fix does not regress b#39476. I can actually reproduce the issue this PR fixes with the sample project in b#39476 even after updating to the latest Forms.

@rmarinho
Copy link
Member

Needs rebase

@rmarinho rmarinho merged commit aa969f3 into xamarin:master Oct 17, 2016
@jimmgarrido jimmgarrido mentioned this pull request Oct 19, 2016
4 tasks
@samhouts samhouts added this to the 2.3.4 milestone Jun 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants