Android - Passing An Array Of Classes Between Activities
I have three different Classes or Activities in an array. Each Class represents a puzzle. I have a function that rearranges the array at the start of the app so that the user won't
Solution 1:
Since we're dealing with a Map, you should go with:
Object[] array = (Object[]) extras.get("classes"); // you cannot cast to Class[] !
and then:
Classa= (Class) array[0]; // and etc.
Post a Comment for "Android - Passing An Array Of Classes Between Activities"