Code example for CharArrayBuffer

0
         * State of a ListView item that is not sectioned and therefore does not 
         * display the separator. 
         */ 
        private static final int STATE_REGULAR_CELL = 2;
 
        private final CharArrayBuffer mBuffer = new CharArrayBuffer(128);
        private int[] mCellStates;
 
        public AudioFilesAdapter(Context context, Cursor cursor) {
            super(context, cursor);
            mCellStates = cursor == null ? null : new int[cursor.getCount()];
        } 
 
        @Override 
        public void changeCursor(Cursor cursor) {
            super.changeCursor(cursor);
            mCellStates = cursor == null ? null : new int[cursor.getCount()];
        } 
 
        @Override 
        public void bindView(View view, Context context, Cursor cursor) {