title: Fetching A single row from SQLite DB and saving the values into individual variable and displaying them into different text views
body: <p>I am running a Query in my DB Adapter class something like this where in I provide an ID and want to fetch the row associated with that ID: </p>
  
  <pre><code>    public Cursor fetchRow(String a) {
      String Key = a; 
  
      return mDb.query(DATABASE_TABLE0, new String[] {IDno1, GIDno1,Name1,Owner1,Breed1,Gender1}, "IDno=?",new String[]{Key}, null, null, null, null);
  }
  </code></pre>
  
  <p>Now in my Class I want to bind the individual elements returned from this Query to different variables, but I am confused how to achieve that. I am doing something like: </p>
  
  <pre><code>    private void fillData() {
      Cursor c = DBHelper.fetchRow();
  
     // List&lt;String&gt; idList = new ArrayList&lt;String&gt;();
      if (c.moveToFirst()) {
  
  
               }
  }
  </code></pre>