list view Selected item Changes when scrolled out of view
<p>I have a list view which is populated with custom rows. each row has some data and a circle image which turns green on click of it . i basically wanted to replicate a "read" status as in "this msg is read if circle image  turns green". i have used a base adapter to show the view on the screen. i have managed to  change the color to green.</p>

<pre><code>if(messagealertAdapterObject.status!=null &amp;&amp; 
   messagealertAdapterObject.equals("read")) {
    select.setImageResource(R.drawable.greencircle);
}else{
    select.setImageResource(R.drawable.gray);
}
</code></pre>

<p>But my problem is that once the color has been changed to green after selecting the particular row if I scroll the list, as the selected image goes out of the view it comes back to the "unread" status As in the color no longer stays green once it has gone out of view.</p>

<p>Is there some method where I could make the color stay green even when the "circle" goes out of the view?</p>
