title: Dynamically show and hide imagebuttons inside row of listview
body: <p>How can i show and hide some imagebuttons inside a row of a listview on listactivity?
  Ive some list of packages and want show buttons like install and uninstall. But when a package is installed only uninstall button is showed. If click uninstall, i want to hide uninstall button and show install button.
  i reference every row in a loop like this:</p>
  
  <p><code>v = vi.getAdapter().getView(i, null, null);</code></p>
  
  <p>and reference button like this</p>
  
  <pre><code>ImageButton ib = (ImageButton)v.findViewById(R.id.descargar);
              ib.setVisibility(View.VISIBLE);
  </code></pre>
  
  <p>nothing happened. Any suggestions?Thanks.</p>