Change another MenuItem onClick of one
<p>My problem is that I want to change the icon from a MenuItem from Visible to not being Visible, but this ofcourse needs to go via the onOptionsItemSelected. If I call on menu, it gets the MenuItem where is clicked on, while another one needs to be hidden. And I also checked on defining the MenuItem and findViewById, which didn't work because it's no view.
Let me show you a part of my code to make it more clear:</p>

<pre><code>@Override
public boolean onOptionsItemSelected(MenuItem menu) {
    switch (menu.getItemId()) {
    case R.id.menu_refresh:
        // Stuff
    case R.id.menu_settings:
        (Somehow point to R.id.menu_refresh).setVisible(false);
    }
    return super.onOptionsItemSelected(menu);
}
</code></pre>

<p>Any ideas?</p>
