private void ClearClick() { InvokeOnMainThread(() => { lock (TagInfoList) { TagInfoList.Clear(); _numberOfTagsText = _TagInfoList.Count.ToString() + " tags"; RaisePropertyChanged(() => numberOfTagsText); tagsCount = 0; _tagPerSecondText = tagsCount.ToString() + " tags/s"; RaisePropertyChanged(() => tagPerSecondText); } }); }
private void ClearClick() { InvokeOnMainThread(() => { lock (TagInfoList) { _InventoryTime = 0; RaisePropertyChanged(() => InventoryTime); _DebugMessage = ""; RaisePropertyChanged(() => DebugMessage); TagInfoList.Clear(); TagInfoListSpeedup.Clear(); _numberOfTagsText = " " + _TagInfoList.Count.ToString() + " tags"; RaisePropertyChanged(() => numberOfTagsText); _tagCount4Display = 0; _tagPerSecondText = _tagCount4Display.ToString() + " tags/s "; RaisePropertyChanged(() => tagPerSecondText); } }); }