Could you please tell me difference between ArrayAdapter , BaseAdapter and ListAdapter.
Could you please tell me difference between ArrayAdapter , BaseAdapter and ListAdapter .
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
BaseAdapteras the name suggests, is a base class for all the adapters.When you are extending the Base adapter class you need to implement all the methods like
getCount(),getId()etc.ArrayAdapteris a class which can work with array of data. You need to override onlygetview()method.ListAdapteris a an interface implemented by concrete adapter classes.BaseAdapteris an abstract class whereasArrayAdapterandListAdapterare the concrete classes.ArrayAdapterandListAdapterclasses are developed since in general we deal with the array data sets and list data sets.