i've problem setting the list view, When i create the array and i try to put into the list view, return error Cannot resolve constructor ArrayAdapter this is my array.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.xml_busqueda_proveedores);
ArrayList<HashMap<String, String>> arl = (ArrayList<HashMap<String, String>>) getIntent().getSerializableExtra("lista");
System.out.println("::: array " + arl);
// This is the array
// ::: array [{1=111, 2= LOCAL }, {1=12, 2= CIUDAD}, {}, {}, {}]
list = (ListView)findViewById(R.id.ListProveedores);
ArrayAdapter<String> adaptador = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, arl);
//Error Cannot resolve constructor ArrayAdapter
list.setAdapter(adaptador);
}