예제 #1
0
 public IAsyncEnumerable <OneOf <IPagedData <AniListActivity>, IAniListError> > GetAniListActivity(bool isFollowingOnly)
 {
     AniDroidSettings.ShowAllAniListActivity = !isFollowingOnly;
     return(AniListService.GetAniListActivity(new AniListActivityDto {
         IsFollowing = isFollowingOnly
     }, 20));
 }
예제 #2
0
 public IAsyncEnumerable <OneOf <IPagedData <AniListActivity>, IAniListError> > GetUserActivityEnumerable(int userId, int count)
 {
     return(AniListService.GetAniListActivity(new AniListActivityDto {
         UserId = userId
     }, count));
 }