return new BasePagingLoadResult<BeanPost>(sublist, config.getOffset(), beanPosts.size());
}
public List<Customer> getCustomers() {
List<Customer> customers = new ArrayList<Customer>();
customers.add(new Customer("Darrell", "darrell@foo.com", 1));
customers.add(new Customer("Maro", "maro@foo.com", 2));
customers.add(new Customer("Alec", "alec@foo.com", 3));
customers.add(new Customer("Lia", "lia@foo.com", 4));
return customers;
}