if (item is Dictionary<string, object> )
{
var message1 = ((Dictionary<string, object>)item)["message"] as ChatComponents.Message;
int test = widget.items.IndexOf(item);
if (_oldIndex != null && !_oldIndex.Contains(message1.id))
if (_oldIndex != null && _oldIndex.Count != 0 && !_oldIndex.Contains(message1.id))
}