GridView onItemClickListener never gets invoked
<p>I have a <code>GridView</code> with custom <code>View</code> in it, which is a <code>Button</code> and a <code>TextView</code>. I defined the <code>setOnItemClickListener</code> but it looks like it never invoked, please see peaces of code below.</p>

<pre><code> gridview = (GridView) findViewById(R.id.main_gridview);
        gridview.setAdapter(new GridAdapter(this));

        gridview.setOnItemClickListener(new OnItemClickListener() {

            @Override
            public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position,
                    long id) {
                Toast.makeText(getApplicationContext(), "gadsfadsf", Toast.LENGTH_SHORT).show();
                Log.d("Main", "onItemClick");
            }
        });
</code></pre>
