I have a listbox in my xaml.I am adding items to this listbox using List<Object> i.e,partList.
public void setList()
{
for (int i = 0; i < partList.Count; i++)
{
var partListItem = partList[i].getLine().getItem();
PartListPhoneControl userPhoneControl= new PartListPhoneControl();
if (partListItem.getDescription() != null)
userPhoneControl.partDescription.Text = partListItem.getDescription();
}
}
Now if I am doing any changes in this list I want it to refresh the list box.How can I use INotifyChanged in this case?