Here is my CustomAdapter which extends the BaseAdpater When i run the app i get the error FATAL EXCEPTION: main java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at com.africacloudspace.apps.mobisms.adapters This is the custom adapter public class ContactCustomAdapter extends BaseAdapter { private Activity activity; private LayoutInflater inflater; private List<ContactModel> contactModels; boolean[] itemChecked; public ContactCustomAdapter(Activity activity, List<ContactModel> contactModels) { this.activity = […]
The post How to set a ListView Item as checked programmatically in a BaseAdapter appeared first on BlogoSfera.