title: SimpleCursorAdapter doesn't return any object in listview
body: <p>I use SimpleCursorAdapter in my app to get rows from db , I do not receive any error, I tryed to put the values in the db but I can't see any filled listview. I post my code below for better explanation.</p>
  
  <p><strong>FragmentTab2.java</strong></p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
  
      View view = inflater.inflate(R.layout.fragmenttab2, container, false);
  
      d= new Database(getActivity());
      Cursor c = d.getBarcode();
  
      CursorLoader(c);
  
      String from[] = {Codice.DATI_ID,
              Codice.DATI_BARCODE};
  
      int to[] = {R.id.record_id,
              R.id.record_barcode};
  
      @SuppressWarnings("deprecation")
      SimpleCursorAdapter sca = new SimpleCursorAdapter(view.getContext(),
              R.layout.singolo_elemento_card,
              c, from, to);
      cardBarcode = (ListView) view.findViewById(R.id.barcode_list);
      cardBarcode.setAdapter(sca);
  
  
      cardBarcode.setClickable(true);
      cardBarcode.setOnItemClickListener(new AdapterView.OnItemClickListener() {
  
          public void onItemClick(AdapterView&lt;?&gt; parent, View v, int position,
                  long id) {
  
  
          }
      });
      return view;
  }
  private void CursorLoader(Cursor c) {
      // TODO Auto-generated method stub
  
  }
  </code></pre>
  
  <p>in my <strong>Database.java</strong>:</p>
  
  <pre><code> public Cursor getBarcode(){
  
          Cursor c= db.query(Codice.TABLE_CARD, null , 
                      null , 
                      null , 
                      null , 
                      null ,  
                      null );
           return c;
   }
  </code></pre>