In my application I have a method `fetchJSONChild()` as below:

```
public List<String[]> fetchJSONChild(){

    final List<String> child;// = new ArrayList<String>();
    Thread thread = new Thread(new Runnable(){
        @Override
        public void run() {
            try {

                String data1 = "1,2,3";
                //String[] parts = new String[3];

                child = new ArrayList<String>(Arrays.asList(data1.split(",")));

            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    });

    thread.start(); 
    return child;
}

```

In this method I have created a list and put splitted string items on it but when I return this list, I am getting an error at this line `return child;` as below:

`Change method return type to List<String>`

How can I resolve it?

Thanks