How to update view in a cursor adapter?
<p>I have extended a cursor adapter</p>

<pre><code>public class MyAdapter extends CursorAdapter {

    MyAdapter(View view, Context context, Cursor cursor) {

         ...

    }

    public void bindView(View view, Context con, Cursor c) {

         if (OtherClass.currentlyPlaying.equals(ring)) {

             TextView.setTextColor(Color.red);
         }
    }



}
</code></pre>

<p>The 'currentlyPlaying' is a string in another class that corresponds with a title that is currently playing. The 'ring' is a title that is found when binding the view in the adapter. I have the textview change color when it's selected. When it's selected it changes colors, but when I click another item in the listview it changes color too, but the old item that was selected remains the same color. </p>

<p>Can anyone tell me if there is a way to update the view or how I would be able to apply maybe a viewholder to this? Thanks!</p>
