title: How to see text in toast
body: <p>I'm trying to see text from GridView using a toast when I selected or clicked on GridView's data. I can see position, but don't know what to put to see a text.
  Here is a code. </p>
  
  <pre><code>import android.app.Activity;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.AdapterView;
  import android.widget.ArrayAdapter;
  import android.widget.GridView;
  import android.widget.Toast;
  
  public class MainActivity extends Activity {
      String [] data = {"a","b", "c","d","e","f", "g","h"};
      GridView gdView;
      ArrayAdapter&lt;String&gt; adapter;
      String result;
  
          @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          adapter = new ArrayAdapter&lt;String&gt;(this, R.layout.item, R.id.tvText, data);
  
          gdView = (GridView) findViewById(R.id.gdView);
          gdView.setAdapter(adapter);
  
  
          gdView.setOnItemClickListener(new AdapterView.OnItemClickListener()
          {
              public void onItemClick(AdapterView&lt;?&gt; parent, View v,
                                      int position, long id) {
               Toast.makeText(getBaseContext(), position, Toast.LENGTH_SHORT).show();
              }
          });
      }
  }
  </code></pre>
  
  <p>Could someone suggest me, what I need to use or where to look for it?
  Thank you</p>