Closed davidherer closed 7 years ago
Umm... Maybe includeAll(Collection<Resource>)
and excludeAll(Collection<Resource>)
?
Introduce new API in 3.3.0:
ArrayDocument<...> document1, document2;
document1.addAll(document2);
document1.getIncluded().addAll(document2.getIncluded());
I have an infinite scroll view which loads paginated data. When I load the second page and want to add it to the first ArrayDocument (with firstArrayDocument.addAll(mySecondArrayDocument)), the side-loaded data seem to not be correctly added since the relationships for the second loading give me null values. Any idea or tricks to resolve my problem? Thanks a lot