performItemClick in another view
<p>In my app i have two 10x10 grids which have different adapters. When i click on item on the first grid it should change graphic on both first and second grid.</p>

<pre><code>battleField = (GridView) findViewById(R.id.gridView1);
battleField2 = (GridView) findViewById(R.id.gridView2);
battleField.setAdapter(new ImageAdapter(getApplicationContext()));
battleField2.setAdapter(new ImageAdapter2(getApplicationContext()));
battleField2.setEnabled(false);
battleField.setOnItemClickListener(new OnItemClickListener() {
    public void onItemClick(AdapterView&lt;?&gt; parent, View view1, int position, long id) {
        Toast.makeText(SendobjectActivity.this, "" + position, Toast.LENGTH_SHORT).show();
        ImageView img = (ImageView)view1;
        img.setImageResource(R.drawable.trafiony1);                           
        //HERE IS THE PROBLEM
        battleField2.performItemClick(view2, position, id);

    }
});

battleField2.setOnItemClickListener(new OnItemClickListener() {
    public void onItemClick(AdapterView&lt;?&gt; parent, View view2, int position, long id) {
        Toast.makeText(SendobjectActivity.this, "" + position, Toast.LENGTH_SHORT).show();                       
        ImageView img2 = (ImageView)view2;
        img2.setImageResource(R.drawable.trafiony2);
    }
});
</code></pre>

<p>I implemented onItemClickListener for both grids. When an item on the first grid is clicked it's graphic changes and id like to call performItemClick method to do the same on second grid. Unfortunetly i dont know how to get view of my second grid. Any ideas?</p>
