Post Reply

Problem when trying to obtain a List from a Parcel object

OP Andre1299

4th July 2014, 07:22 PM   |  #1  
OP Junior Member
Flag Trieste
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jul 2014
More
Hi, I'm italian so I apologize for my bad english...

I have a problem when I use the method
Code:
readList(List outVal, ClassLoader loader)
I use this in this way
Code:
parcel.readList(mylist, null)
I want to put the list that I putted into the parcel object in mylist. But when I try to access to the list I obtain a nullPointerException...
What is wrong?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank