[Solved] how to load many image resource with function


When you pass null to your load method, it’s not surprising that you get an error.

Why don’t you instantiate your array in the load() method, such as int[] x = new int[15], and make the method parameterless.

2

solved how to load many image resource with function