java - Add an ArrayList<Boolean> to an Android Intent -
i'm attempting add arraylist<boolean> intent in android , retrieve it.
there methods add , retrieve integer, string, etc. arraylists , intents, don't see arraylist<boolean>. now, i'm having convert arraylist<boolean> boolean[], add intent, , convert arraylist<boolean> when retrieve intent.
is there simpler way?
call putextra(...) on intent, , throw in arraylist. when retrieving, cast returned value getserializableextra method call arraylist<boolean>.
more info: http://developer.android.com/reference/android/content/intent.html#putextra(java.lang.string, java.io.serializable)
Comments
Post a Comment