I'm attempting to add an ArrayList<Boolean>
to an intent in Android and then retrieve it.
There are methods to add and retrieve Integer, String, etc. ArrayLists to and from intents, but I don't see any for an ArrayList<Boolean>
. For now, I'm having to convert my ArrayList<Boolean>
to a boolean[]
, add it to the intent, and then convert it back to an ArrayList<Boolean>
when I retrieve it from the intent.
Is there a simpler way?