Why can’t one add/remove items from an ArrayAdapter?

You probably initialized the adapter with a plain Java array (e.g., String[]). Try using something that implements the java.util.List interface (e.g., ArrayList<String>).

Leave a Comment