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