I wanted to create a list of options for testing purposes. At first, I did this:
ArrayList places = new ArrayList(); places.add(\
Try with this code line:
Collections.singletonList(provider)