コード例 #1
0
        public async void Reload()
        {
            Loading = true;
            Details = await MalClubDetailsQuery.GetClubDetails(LastArgs.Id);

            Loading = false;
        }
コード例 #2
0
        public async Task ReloadComments()
        {
            LoadingComments = true;

            var details = await MalClubDetailsQuery.GetClubDetails(LastArgs.Id, true);

            Details.RecentComments = details.RecentComments;
            Comments = new ObservableCollection <MalClubComment>(Details.RecentComments);
            Comments.CollectionChanged += CommentsOnCollectionChanged;

            LoadingComments = false;
        }
コード例 #3
0
        public async void NavigatedTo(ClubDetailsPageNavArgs args)
        {
            if (args.Equals(LastArgs))
            {
                return;
            }
            Details  = null;
            LastArgs = args;

            Loading = true;
            Details = await MalClubDetailsQuery.GetClubDetails(args.Id);

            Loading = false;
        }