diff options
author | Paul DiPietro <pauldipietro@users.noreply.github.com> | 2016-08-02 11:15:35 -0500 |
---|---|---|
committer | Samantha Houts <samantha@teamredwall.com> | 2016-08-02 09:15:35 -0700 |
commit | ac44cf9dec53b3b8be1836f20479f01820f3667f (patch) | |
tree | 3b5ebf0580020e3ef5fc4d73d51e87c50f608719 /Xamarin.Forms.Xaml | |
parent | ea01c07aa32e39e947104253a44566dded50123e (diff) | |
download | xamarin-forms-ac44cf9dec53b3b8be1836f20479f01820f3667f.tar.gz xamarin-forms-ac44cf9dec53b3b8be1836f20479f01820f3667f.tar.bz2 xamarin-forms-ac44cf9dec53b3b8be1836f20479f01820f3667f.zip |
[Android] Add null check to prevent crashes when long clicking a text entry in ListView header/footer (#271)
When a text entry control (Entry, Editor, SearchBar, etc.) was being used in the header or
footer of a ListView on Android, a long click/press would cause a crash. This was occurring
in the HandleContextMode method because it expected to be a cell. Adding a null check and
breaking out of the method if the value from GetCellForPosition is null prevents this crash
from occurring.
Diffstat (limited to 'Xamarin.Forms.Xaml')
0 files changed, 0 insertions, 0 deletions