Friday 15 February 2013

listview - Xamarin Forms, Is ItemsView<T> Intended to be subclassed -


Using the exclamation form, I have tried to create an item view to create a view, which is a list of views. It does something like a View-Models with a template, but the relevant members of the itemview are internal (Ao Constructor and an important property templated items, type templateed eTermists)

Itemview is intended to be subclassed, and if not is: Is there any alternative way to make such a scene?

If you look at the documentation, the snippet will suggest that, at least technically, Subclass should be:

  view public abstract class items & lt; TVJUL & gt; : See, IItemsView & lt; TVisual & gt; Where TVisual: Xamarin.Forms.BindableObject  

However, the question is why do you want to? Unless you have a specific reason, I am looking to use the list where TVisual will be of type ViewCell .

More instructions and information can be found here, creating ListViews:


No comments:

Post a Comment