[Solved] creat empty array of strings


Don’t create individual string array.You can use Arraylist to make a dynamic String array.

ArrayList<String> images =new ArrayList<String>();

to insert values.Just use add() method.
For example,You want to store iamgeUrls then :

images.add(image1);
images.add(image2);

And to retrieve data use get() method.Example :

images.get(position); //where position is the index of imageUrl you want to retrieve.

0

solved creat empty array of strings