List<Data> data = fill_with_data();
public List<Data> fill_with_data() {
List<Data> data = new ArrayList<>();
for (int i = 0; i < Glob.frames.length; i++) {
data.add(new Data(Glob.frames[i]));
}
return data;
}
public class Data {
public int images;
public Data(int images) {
this.images = images;
}
}
每次从可绘制文件夹 TransactionTooLargeException 加载图像时出错