You need to add your items in the adapter before you notify the adapter the data has changed:
public void onClickMyButton(View view) {
values = new String[] {"a", "b", "c"};
if(adapter!=null){
adapter.clear()
for(String value:values)
adapter.add(value)
}
adapter.notifyDataSetChanged();
}