Hello, I have a function that returns
ArrayList<HashMap<String, String>> There are several such functions and meta
I have to have several ArrayList<HashMap<String, String>> build one
ArrayList<HashMap<String, String>> and then send this one ArrayList to BaseAdapter
Pesal following code
ArrayList<HashMap<String, String>> getContacts = new ArrayList<>(); getContacts.addAll(...function name return arraylist....); getContacts.addAll(...function name return arraylist....); adapter = new Today_Adapter(getActivity(), getListView(), getContacts, Colors.getColors()); BUT Got the following error
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
getViewreturns null, or there isnullin one of the returned lists, and you are somehow strangely processing it.getContacts, it may pop up. - zRrr