title: Getting all data in a database row to show Android SQLite
body: <p>I am trying to get my class to show all the data in a database. at the current time it i only showing the one set of data which would be the title and i tried to alter he code to what i thought would show all the data </p>
  
  <pre><code>public class WorkoutProgress extends ListActivity {
  private DataBaseHelper datasource;
  @Override
  public void onCreate(Bundle savedInstanceState) {
      requestWindowFeature(Window.FEATURE_NO_TITLE);
      getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
      super.onCreate(savedInstanceState);
      setContentView(R.layout.progress);
  
      datasource = new DataBaseHelper(this);
      datasource.open();
      fillData();
      datasource.close();
  }
   private void fillData() {
          // Get all of the notes from the database and create the item list
          Cursor c = datasource.getAllTitles();
          startManagingCursor(c);
  
          String[] from = new String[] { DataBaseHelper.KEY_TITLE,DataBaseHelper.KEY_ISBN, DataBaseHelper.KEY_PUBLISHER };
          int[] to = new int[] { R.id.text1 };
  
          // Now create an array adapter and set it to display using our row
          SimpleCursorAdapter notes =
              new SimpleCursorAdapter(this, R.layout.notes_row, c, from, to);
          setListAdapter(notes);
      }
  
      }
  </code></pre>
  
  <p>The code I thought I needed to change was this line </p>
  
  <pre><code>     String[] from = new String[] { DataBaseHelper.KEY_TITLE};
  </code></pre>
  
  <p>To this line </p>
  
  <pre><code>        String[] from = new String[] { DataBaseHelper.KEY_TITLE,DataBaseHelper.KEY_ISBN, DataBaseHelper.KEY_PUBLISHER };
  </code></pre>
  
  <p>this is the notes_row.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;TextView android:id="@+id/text1"
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"/&gt;
  &lt;TextView android:id="@+id/text2"
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"/&gt;
  &lt;TextView android:id="@+id/text3"
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"/&gt;
  </code></pre>