I create a list view layout and get an ArrayAdapter warning. The error message is below. A warning message indicates the following text:
new ArrayAdapter(this, android.R.layout.simple_list_item_1, populateList());
Any help would be helpful
warning message:
Description Resource Path Location Type ArrayAdapter is a raw type. References to the generic ArrayAdapter type must be parameterized LoginList.java/LoginPlus/src/com/loginplus/home line 95 Problem with Java
@Override protected void onResume() { super.onResume(); loginListAdapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1, populateList()); loginList.setAdapter(loginListAdapter); }
source share