So the SimpleExpandabeListAdapter is text base only? So I would need to create new adapter style?
On Nov 23, 1:51 am, Kumar Bibek <coomar....@gmail.com> wrote: > Well, for this you will have to write a custom adapter for your list view, > since the adapter you are using cannot be directly used to show an image. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Thu, Nov 18, 2010 at 3:50 AM, Leon Moreyn-Android Development < > > > > lmor...@earthcam.com> wrote: > > Here is the code I am using. Currently I get and Location to appear > > but image doesnt. > > > mAdapter = new SimpleExpandableListAdapter( > > this, > > groupData, > > > android.R.layout.simple_expandable_list_item_2, > > new String[] {IMAGE, NAME}, > > new int[] {R.id.image, android.R.id.text1 }, > > childData, > > > android.R.layout.simple_expandable_list_item_2, > > new String[] {IMAGE, NAME, LOCATION }, > > new int[] {R.id.image, android.R.id.text1, > > android.R.id.text2 } > > ); > > Log.d("Leo's Tag", mAdapter.toString()); > > setListAdapter(mAdapter); > > > So the IMAGE string is url to web address with a thumbnail size image. > > I think I am missing could to convert the URL into a image raw or an > > ImageView. If someone would be most kind and direct me in the proper > > direction to implement this or if someone knows how to convert online > > url to image and would share their code I would be most great full. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en