Image Display not showing in Custom Spinner Adapter
<p>i am using following code to attach an image placed in my asset Folder</p>

<pre><code>  ArrayAdapter&lt;CharSequence&gt; adapter = new CustomArrayAdapterForCurrencies(this, currenciesDataSource.keys);
      paidIn.setAdapter(adapter);


viewHolder.flag = (ImageView) view.findViewById(R.id.UICurrencyCurrencyFlag);
            String filename = "Images/Currencies/" + keys[position] + ".png";
            try {
                InputStream bitmap= context.getResources().getAssets().open(filename);
                Bitmap bit=BitmapFactory.decodeStream(bitmap);
                viewHolder.flag.setImageBitmap(bit);
            } catch (IOException e1) {
                e1.printStackTrace();
            }
</code></pre>

<p><img src="http://i.stack.imgur.com/OHbH7.png" alt="With Image"></p>

<p>But when i click on Spinner following this happens,
If i click on let us say , INR, The indian flag shows up just like above, but i want all the flags to be shown in this screen too.</p>

<p><img src="http://i.stack.imgur.com/nsG1a.png" alt="No Image"></p>

<p>Please tell me what is the problem Best Regards</p>
