Change icon in android
<p>I would like to know how I can change image in imageview but in specific way. I would like to when I start application I have a default icon and when I click on them I change icon on the othe. But when I click again my icon return to default, and again....
This is what I got at this moment:</p>

<pre><code>    final ImageView check_box = (ImageView) rowView.findViewById(R.id.email_list_item_checkbox_icon);

    check_box.setOnClickListener(new OnClickListener() {

        @Override
        public void onClick(View arg0) {

            check_box.setImageResource(R.drawable.checkbox_android);
        }
    });
</code></pre>

<p>How I can do next step and loop this solution?</p>
