public async void GetPosts(bool refresh = false) { if (FriendshipStatus != null) { if (FriendshipStatus.IsPrivate && !FriendshipStatus.Following) { return; } } await MediaGeneratror.RunLoadMoreAsync(refresh); }
public void ResetToDefault() { if (BiographyText != null) { BiographyText.Blocks.Clear(); } MediaGeneratror.ResetCache(); UserShort = null; FriendshipStatus = null; User = null; Username = null; TVChannel = null; Highlights.Clear(); Stories.Clear(); ChainingSuggestions.Clear(); PrivateVisibility = NoPostsVisibility = ChainingVisibility = IGTVVisibility = HighlightsVisibility = Visibility.Collapsed; View = null; }
public UserDetailsViewModel() { MediaGeneratror.SetVM(this); }
public ProfileDetailsViewModel() { User = CurrentUser; MediaGeneratror.SetVM(this); }
public async void GetPosts(bool refresh = false) { await MediaGeneratror.RunLoadMoreAsync(refresh); }