title: how to change the font color of an item in a gridview (android)
body: <p>I have a gridview of letters for a wordsearch and I'm trying to get it so when you click on a letter it changes colour (which is working fine). But I also want to be able to change the font color back if the word is not correct. </p>
  
  <pre><code>public void onItemClick(AdapterView&lt;?&gt; parent, View v, int position, long id) 
              {            
                  Toast.makeText(TodaysPuzzleClass.this, "" + position, Toast.LENGTH_SHORT).show();        
                  ((TextView) v).setTextColor(Color.BLUE);
  }
  </code></pre>
  
  <p>This is the code so when I click on an item it changes color. </p>
  
  <p>Using the coordinates from my toast is it possble to change the items color that way?</p>
  
  <p>looking aroung i need to use the postion if the item then changes its color, but how do i do that?</p>