/// <summary> /// Initializes a new instance of the ListViewPullToRefreshViewModel class. /// </summary> public ListViewPullToRefreshViewModel() { this.Source = new BlogsInfoRepository(); this.BlogsInfo = this.Source.GenerateSource(); this.ReadMoreCommand = new Command <object>(this.NavigateToReadMoreContent); this.TwitterCommand = new Command <object>(this.NavigateTwitterLink); this.LinkedInCommand = new Command <object>(this.NavigateLinkedInLink); this.FacebookCommand = new Command <object>(this.NavigateFacebookLink); this.GooglePlusCommand = new Command <object>(this.NavigateGooglePlusLink); }
public ListViewPullToRefreshViewModel() { source = new BlogsInfoRepository(); BlogsInfo = source.GenerateSource(); readMoreCommand = new Command <object>(NavigateToReadMoreContent); twitterCommand = new Command <object>(NavigateTwitterLink); linkedInCommand = new Command <object>(NavigateLinkedInLink); facebookCommand = new Command <object>(NavigateFacebookLink); googlePlusCommand = new Command <object>(NavigateGooglePlusLink); }