Class RecyclerView

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
9

A View that serves as a base class for views that contain a templated list of items.

C#
Copy
public abstract class RecyclerView : ScrollableBase, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider, ICollectionChangedNotifier
Inheritance
System.Object
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
RecyclerView
Derived
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

RecyclerView()

Base Constructor

Declaration
C#
Copy
public RecyclerView()
API Level: 9

Properties

View Source

ItemsSource

Item's source data.

Declaration
C#
Copy
public virtual IEnumerable ItemsSource { get; set; }
Property Value
Type Description
IEnumerable
API Level: 9
View Source

ItemTemplate

DataTemplate for items.

Declaration
C#
Copy
public virtual DataTemplate ItemTemplate { get; set; }
Property Value
Type Description
DataTemplate
API Level: 9

Methods

View Source

OnRelayout(Vector2, RelayoutContainer)

Declaration
C#
Copy
public override void OnRelayout(Vector2 size, RelayoutContainer container)
Parameters
Type Name Description
Vector2 size
RelayoutContainer container
Overrides
Tizen.NUI.Components.Control.OnRelayout(Tizen.NUI.Vector2, Tizen.NUI.RelayoutContainer)
API Level: 9
View Source

OnScrolling(Object, ScrollEventArgs)

On scroll event callback.

Declaration
C#
Copy
protected virtual void OnScrolling(object source, ScrollEventArgs args)
Parameters
Type Name Description
System.Object source
ScrollEventArgs args
API Level: 9

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable