title: Adapter remove doesn't work
body: <p>I tried to remove the  item from a custom adapter and notify that data has been changed. But this seems not work. </p>
  
  <pre><code>mListDataAdapter.remove(mListDataAdapter.getItem(position));
  mListDataAdapter.notifyDataSetChanged();
  </code></pre>
  
  <p>Neither works <code>mListDataAdapter.clear();</code> No changes to adapter in debugging mode.</p>
  
  <p>My activity extends <code>AppCompatActivity</code> if this helps. I call this code inside <code>onActionItemClicked</code>. At the same time I call delete from database, which works correct.</p>
  
  <p>Update.
  Here is ListDataAdapter:</p>
  
  <pre><code>public class ListDataAdapter extends ArrayAdapter {
  
  List list = new ArrayList();
  
  
  public ListDataAdapter(Context context, int resource) {
      super(context, resource);
  }
  
  static class LayoutHandler{
  TextView id_;
  TextView title;
  
  }
  
  
  @Override
  public void add(Object object) {
      super.add(object);
      list.add(object);
  }
  
  @Override
  public int getCount() {
      return list.size();
  }
  
  @Override
  public Object getItem(int position) {
      return list.get(position);
  }
  
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
  
      View row = convertView;
      LayoutHandler layoutHandler;
  
      if(row == null){
  
          LayoutInflater layoutInflater = (LayoutInflater) this.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
          row = layoutInflater.inflate(R.layout.todo_row_layout,parent,false);
  
          layoutHandler = new LayoutHandler();
          layoutHandler.id_ = (TextView) row.findViewById(R.id.id_);
          layoutHandler.title = (TextView) row.findViewById(R.id.todoTitle);
          row.setTag(layoutHandler);
      } else {
          layoutHandler = (LayoutHandler) row.getTag();
  
      }
  
          DataProvider dataProvider = (DataProvider) this.getItem(position);
          layoutHandler.title.setText(dataProvider.getTitle());
          layoutHandler.id_.setText(String.valueOf(dataProvider.getId_()));
  
      return row;
  
     // return super.getView(position, convertView, parent);
  }
  </code></pre>
  
  <p>}</p>