public static void main(String[] args) throws InterruptedException {
		OnNextPageLoadedListener<ActivityFeedItemImpl> listener = new OnNextPageLoadedListener<ActivityFeedItemImpl>() {
			@Override
			public void notify(List<ActivityFeedItemImpl> results) {
				if (results == null)
					return;
				
				for (ActivityFeedItemImpl el : results)
					System.out.println(el.getId());
			}
		};
		
		PaginatedResults<ActivityFeedItemImpl> feed = new PaginatedResults<ActivityFeedItemImpl>("https://api.angel.co/1/feed");
		feed.setListener(listener);
		
		System.out.println(feed.get(0));
		
		Thread.sleep(4000);
		System.out.println(feed.get(0));
	}