Bug 44561 - Purpose of the tip and example seems unclear
Summary: Purpose of the tip and example seems unclear
Alias: None
Product: Documentation
Classification: Xamarin
Component: Multi-Platform ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: David Britch
Depends on:
Reported: 2016-09-21 10:44 UTC by Hakan
Modified: 2016-10-05 11:53 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Hakan 2016-09-21 10:44:11 UTC
I think it is unclear what is meant by: "This can be accomplished by setting cell control properties in the OnBindingContextChanged override, rather than in the custom cell's constructor, as demonstrated in the following code example:" on https://developer.xamarin.com/guides/xamarin-forms/user-interface/listview/performance/.

The reason of binding is binding the property of the UI element to a property in the viewmodel. If so, what is the reason that the image source is updated in "OnBindingContextChanged"? When the binding of the cell changes due to recycling, image source should automatcally changes anyway, considering it is data bound.
Comment 1 David Britch 2016-10-05 11:53:53 UTC
Reworded the paragraph to make it clearer.