We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend ViewModelBase IsBusy flag with increment/decrement counter.
public bool IsBusy { get { var count = Interlocked.CompareExchange(ref _busyRefCount, 0, 0); return count > 0; } protected set { if (value) { Interlocked.Increment(ref _busyRefCount); } else { Interlocked.Decrement(ref _busyRefCount); } this.RaisePropertyChanged(); } }
Source: https://github.com/epam/covid-resistance-mobile/blob/1152f1e432edc0ccca89ddad1ddb0d48c7e4f1f4/src/Covi/Features/!Base/ViewModelBase.cs
The text was updated successfully, but these errors were encountered:
thomasgalliker
No branches or pull requests
Extend ViewModelBase IsBusy flag with increment/decrement counter.
Source:
https://github.com/epam/covid-resistance-mobile/blob/1152f1e432edc0ccca89ddad1ddb0d48c7e4f1f4/src/Covi/Features/!Base/ViewModelBase.cs
The text was updated successfully, but these errors were encountered: