I need your help, I cannot understand what\'s happening?
I\'m trying to send a TreeMap between 2 activities, the code is something like this:
class O
Instead of casting the result directly to a TreeMap, you can create a new TreeMap and use the putAll()-method:
TreeMap
TreeMap myMap = new TreeMap; HashMap receivedMap = getIntent().getExtras().get("map"); myMap.putAll(receivedMap);