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