I have a imageview in the simpleadapter and on click of that image i want 
to display more information on that image.
I tried the getView() method,

public View getView( int position, View convertView, ViewGroup parent )
                {
                   
                    LayoutInflater inflater = (LayoutInflater)
                        context.getSystemService( 
Context.LAYOUT_INFLATER_SERVICE );
                    View v = inflater.inflate(R.layout.feedslist, parent, 
false );
                   
                    ImageView iv = (ImageView)v.findViewById(R.id.player);
                  
                    iv.setOnClickListener( new OnClickListener()
                    {
             
                        @Override
                        public void onClick( View v )
                        {
                            Toast.makeText( context,
                                String.format( "Image clicked: "),
                                    Toast.LENGTH_SHORT ).show();
                        }
                    } );
                    return v;
                }

with this code ,i get the toast.but the other textviews in the list does 
not appear.
Pl help me.


shruthi

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to