You can add objects. This is just a warning that your list is not generic.
To make it generic, it should be:
List<String> quotes = new ArrayList<>();
solved Can’t add to an ArrayList on Android Studio? [duplicate]
You can add objects. This is just a warning that your list is not generic.
To make it generic, it should be:
List<String> quotes = new ArrayList<>();
solved Can’t add to an ArrayList on Android Studio? [duplicate]