fellow programmers: So I know how to fill a String[] Array with fixed entries like this:
String[] restaurants = new String[] { "McDonalds", "KFC", "Tacos", "Something", "Huh", "WTF"};
But thing is: -I need to read data from a File or a Database -I need a String[] for a ListAdapter -I cannot fix the size of the Array, because I don't know the amount of data i'm going to receive
I have been searching in the web about this, but i'm unable to find the answer. Can anyone point me in the right direction? Thanks in advance :D