I am trying to create ListView
and fill it with data , but when i launch the application crashes and shows me a message
Unfortunately,…
Change:
ArrayAdapter value = new ArrayAdapter(this,
android.R.layout.simple_list_item_1, R.id.mylist, actions);
To this:
ArrayAdapter value = new ArrayAdapter(this,
android.R.layout.simple_list_item_1, android.R.id.text1, actions);
//OR
ArrayAdapter value = new ArrayAdapter(this,
android.R.id.text1, actions);