after the brace closes just show that text view it may work ....just try it once
On 15 May 2012 10:55, shruthi santosh <[email protected]> wrote: > 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 -- 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

