Interface ICollectionChangedNotifier
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
Notify observers about dataset changes of observable items.
C#Copypublic interface ICollectionChangedNotifier
Methods
Declaration
C#Copyvoid NotifyDataSetChanged()
View Source
NotifyItemChanged(IItemSource, Int32)
Notify the observable item in startIndex is changed.
Declaration
C#Copyvoid NotifyItemChanged(IItemSource source, int startIndex)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | dataset source |
Int32 | startIndex | changed item index |
View Source
NotifyItemInserted(IItemSource, Int32)
Notify the observable item is inserted in dataset.
Declaration
C#Copyvoid NotifyItemInserted(IItemSource source, int startIndex)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | dataset source |
Int32 | startIndex | Inserted item index |
View Source
NotifyItemMoved(IItemSource, Int32, Int32)
Notify the observable item is moved from fromPosition to ToPosition.
Declaration
C#Copyvoid NotifyItemMoved(IItemSource source, int fromPosition, int toPosition)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | |
Int32 | fromPosition | |
Int32 | toPosition |
View Source
NotifyItemRangeChanged(IItemSource, Int32, Int32)
Notify the range of observable items from start to end are changed.
Declaration
C#Copyvoid NotifyItemRangeChanged(IItemSource source, int startIndex, int endIndex)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | |
Int32 | startIndex | |
Int32 | endIndex |
View Source
NotifyItemRangeInserted(IItemSource, Int32, Int32)
Notify the count range of observable items are inserted in startIndex.
Declaration
C#Copyvoid NotifyItemRangeInserted(IItemSource source, int startIndex, int count)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | |
Int32 | startIndex | |
Int32 | count |
View Source
NotifyItemRangeMoved(IItemSource, Int32, Int32, Int32)
Notify the range of the observable items are moved from fromPosition to ToPosition.
Declaration
C#Copyvoid NotifyItemRangeMoved(IItemSource source, int fromPosition, int toPosition, int count)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | |
Int32 | fromPosition | |
Int32 | toPosition | |
Int32 | count |
View Source
NotifyItemRangeRemoved(IItemSource, Int32, Int32)
Notify the count range of observable items from the startIndex are removed.
Declaration
C#Copyvoid NotifyItemRangeRemoved(IItemSource source, int startIndex, int count)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | |
Int32 | startIndex | |
Int32 | count |
View Source
NotifyItemRemoved(IItemSource, Int32)
Notify the observable item in startIndex is removed.
Declaration
C#Copyvoid NotifyItemRemoved(IItemSource source, int startIndex)
Parameters
Type | Name | Description |
---|---|---|
IItemSource | source | |
Int32 | startIndex |