I\'ve been trying to fix this null pointer exception but I cant. I know its pointing to a null object but I don\'t how to fix it. I am beginner in Java programming so please don
I think you should try this..!
ArrayList myList = new ArrayList(); ArrayAdapter adapter = new ArrayAdapter(this, R.layout.row, to, myList.); listView.setAdapter(adapter);