Tuesday, September 4, 2012

Re: [android-developers] How Can I pass and ArrayList of Object and receive the result to adapter in another activity?

I already fix it.

My constructor on the BaseAdapter can't receive the List<Object> when I try for the first time to parcelable the class.

Now I have another problem:

When I set the intent:
troca.putParcelableArrayListExtra("listaItem", list);

My extras are:
[null, null, listaItem=[dataplus.application.attributes.PedidoItem@44f90e88], null]

and when I try to access the extra by the position that is 0. I get null...

Em terça-feira, 4 de setembro de 2012 13h41min52s UTC-3, TreKing escreveu:
On Tue, Sep 4, 2012 at 11:22 AM, Guilherme Bernardi <gui.ber...@gmail.com> wrote:
I can't get the items at the BaseAdapter...

I don't know what "I can't get the items at the BaseAdapter..." means.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate