Yup...

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Tue, Nov 23, 2010 at 9:54 PM, Leon Moreyn-Android Development <
[email protected]> wrote:

> So the SimpleExpandabeListAdapter is text base only? So I would need
> to create new adapter style?
>
> On Nov 23, 1:51 am, Kumar Bibek <[email protected]> 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 <
> >
> >
> >
> > [email protected]> 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
> [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<android-developers%[email protected]>
> <android-developers%2bunsubsĀ­[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]<android-developers%[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

Reply via email to