problem in improving two galleries
<p><strong>Here is my code:</strong>            </p>

<pre><code>        gallery = (Gallery) findViewById(R.id.gallery1);
        gallery = (Gallery)findViewById(R.id.gallery2);
        imgView = (ImageView)findViewById(R.id.ImageView01);    
        imgView.setImageResource(Imgid[0]);
        final ArrayList&lt;searchResults&gt; searchResults = GetsearchResults();
        tv = (TextView)findViewById(R.id.name); 
        tv1 = (TextView)findViewById(R.id.citystate);


    gallery.setAdapter(new Adapter(this, searchResults));
    gallery1.setAdapter(new AddImgAdp(this));
</code></pre>
