title: Fragment instanceof in onItemClick
body: <p>Im using array adapter for my fragments and on item click action should start that fragment</p>
  
  <pre><code>Fragment f = (Fragment) parent.getItemAtPosition(position);
  if (f instanceof MyFragment) {
      newContent = new MyFragment();
  }
  </code></pre>
  
  <p>if clause is always false and i dont know why</p>
  
  <p>there is the problem?</p>