I'm using parceler, and I'm trying to define a structure like this one:
Category 1..* Product 1..* Images
Each entity has a list, and a parent instance, like this
@Parcel
public class Category {
List<Product> products;
...
}
@Parcel
public class Product {
List<Image> images;
Category parent;
...
}
@Parcel
public class Image {
Product parent;
...
}
I want to know how performance is affected when I do:
Category c = getSampleCategory(); // With products and images
Parcels.wrap(c);
and pass a Category object as an extra between activities. I'm noticing ANRs and I ask myself if this is one of the causes
Thanks in advance