Bug 22134 - ListViewRenderer class is internal on Android, preventing inheritance and customization
Summary: ListViewRenderer class is internal on Android, preventing inheritance and cus...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-08-15 10:43 UTC by Leo Olivers
Modified: 2015-05-14 17:10 UTC (History)
5 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 Leo Olivers 2014-08-15 10:43:54 UTC
Perhaps not really a bug, but an inconsistency between Android and IOS:

The class Xamarin.Forms.Platform.Android.ListViewRenderer is marked internal. This makes it impossible to inherit from it and customize it on Android, whereas it can be inherited on IOS (one of Xamarin's developer evangelists demonstrates this very technique in a blog post)

Having this customization option is really necessary in order to compensate for functionality currently lacking in Xamarin.Forms.

To give an example, I need it to set Android peer ListView properties in order to enable the listview to scroll to the bottom:
  listView.StackFromBottom = true;                
  listView.TranscriptMode = TranscriptMode.AlwaysScroll;