Bug 51652

Summary: Toggling the Header/Footer on a ListView Throws an NRE
Product: Forms Reporter: Jimmy [MSFT] <jimmy.garrido>
Component: iOSAssignee: Bugzilla <bugzilla>
Severity: major CC: jas, paul.dipietro, sahou, v-sapaun
Priority: Normal    
Version: 2.3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Tags: ac Is this bug a regression?: ---
Last known good build:
Attachments: repro project

Description Jimmy [MSFT] 2017-01-19 23:55:21 UTC
Created attachment 19409 [details]
repro project

### Overview
On iOS, adding and removing the header/footer on a ListView will throw an NRE when you try to add it again.

### Steps to reproduce
1. Run the attached iOS project
2. Press the "Toggle Footer" button to add a Footer
3. Press the button again to remove the Footer
4. Press the button again

### Expected Results 
A footer is added to the ListView

### Actual Results
The app crashes with an NRE

### Version info
Reproduced with Forms and 2.3.4-pre1
Comment 1 Jimmy [MSFT] 2017-01-20 01:02:28 UTC
Submitted PR for fix: https://github.com/xamarin/Xamarin.Forms/pull/702
Comment 2 Samantha Houts [MSFT] 2017-01-23 18:39:38 UTC
Should be fixed in 2.3.5-pre1. Thank you!
Comment 3 Saurabh Paunikar 2017-07-05 06:48:45 UTC
Verified on Xamarin.form version