code: public PagedList<ActivityInner> listByModuleNext(final String nextPageLink) {
          ServiceResponse<Page<ActivityInner>> response = listByModuleNextSinglePageAsync(nextPageLink).toBlocking().single();
          return new PagedList<ActivityInner>(response.body()) {
              @Override
              public Page<ActivityInner> nextPage(String nextPageLink) {
                  return listByModuleNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Retrieve a list of activities in the module identified by module name.
  
  @param nextPageLink The NextLink from the previous successful call to List operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;ActivityInner&gt; object if successful.