private void IsLoadingAnim(bool state, bool transition = false)
{
this.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate () {
loader.IsEnabled = state;
if (state) {
loader.SetBinding(HaguruLoader.TitleProperty, LoadingTitleBinding);
loader.SetBinding(HaguruLoader.SummaryProperty, LoadingSummaryBinding);
loader.Value = 0;
if (transition) {
this.Content = loader;
}
}
}));
}