void OnScrollComment(object sender, EventArgs args) { if (ViewModel.ArticlesComments.Count > 0) { ArticlesDetailsView.ScrollTo(ViewModel.ArticlesComments.First(), ScrollToPosition.Start, false); } }
private void OnResult(ArticlesComments result) { if (result != null) { ViewModel.AddComment(result); ArticlesDetailsView.ScrollTo(ViewModel.ArticlesComments.Last(), ScrollToPosition.Start, false); } }