Instead of array of files it better to pass List<File>. Since data inside ArrayAdapter<T> stored inside list - you can check the sources.