public void PostsOnEndLoading() { if (_postid != 0) { // a post id has been set by a push notification, show it var selectedPost = Posts.Where(x => x.Id == _postid).FirstOrDefault(); if (selectedPost != null) { ShowPost(selectedPost); } } }