I'm operating in the Android environment and have tried the following code, but it doesn't seem to be operating.
String [] stockArr = (String[]) stock_list.toArray();
If I define as follows:
String [] stockArr = {"hello", "world"};
It operates. Is there something that I'm avoiding?