title: Android - delayed clicks in ListView
body: <p>I have the following structure in my app:</p>
  
  <p>FragmentActivity with <code>ViewPager</code> holding multiple fragments managed by <code>FragmentStatePagerAdapter</code> using compativility pack with Android 2.1</p>
  
  <p>Each fragment contains <code>ListView</code>. Each element in the <code>ListView</code> has a <code>LinearLayout</code> with two <code>TextViews</code> and a <code>Button</code>. The <code>LinearLayout</code> and the button have <code>onClickListeners</code> (separate). Clicking on the <code>LinearLayout</code> starts another <code>Activity</code>. I noticed that the clicks behavior is very inconsistent: sometimes action is executed immediately but very often it is delayed and sometimes it's just ignored no matter how many times I tap.  It gets even weirder because I can tap and the action will only be executed when I start scrolling the list. I tried various combinations of <code>setFocusable(false)</code> and <code>setSelectable(true)</code> but it seems to not make any difference. Any ideas? I'll be happy to provide more details.</p>