Code example for ArrayList

Methods: size

0
            mInflater = LayoutInflater.from(context);
        } 
 
        @Override 
        public int getCount() { 
            return mItems.size();
        } 
 
        @Override 
        public ActivityInfo getItem(int position) {
            return mItems.get(position);
        } 
 
        @Override 
        public long getItemId(int position) {
            return position;
        } 
 
        @Override 
        public View getView(int position, View convertView, ViewGroup parent) {
            TextView tv = (TextView) convertView;