Created
July 29, 2014 21:31
-
-
Save snadjafi/eee900777f2a9caf6101 to your computer and use it in GitHub Desktop.
parcel read array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object[] o = in.readArray(Question.class.getClassLoader()); | |
ArrayList<mAttribute> ps = new ArrayList<Attribute>(); | |
for (Object item : o) { | |
ps.add(((Attribute) item)); | |
} | |
setAttributes(ps); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment