Interface ICollectionChangedNotifier

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll

Notify observers about dataset changes of observable items.

C#
Copy
public interface ICollectionChangedNotifier

Methods

View Source

NotifyDataSetChanged()

Notify the dataset is Changed.

Declaration
C#
Copy
void NotifyDataSetChanged()
View Source

NotifyItemChanged(IItemSource, Int32)

Notify the observable item in startIndex is changed.

Declaration
C#
Copy
void 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#
Copy
void 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#
Copy
void 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#
Copy
void 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#
Copy
void 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#
Copy
void 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#
Copy
void 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#
Copy
void NotifyItemRemoved(IItemSource source, int startIndex)
Parameters
Type Name Description
IItemSource source
Int32 startIndex

Extension Methods