I wrote the following ArrayMap:
ArrayMap<Sprite,String> arrayMap = new ArrayMap<Sprite, String>();
arrayMap.put(sprite, "Rot");
arrayMap.put(sprite1, "Braun");
arrayMap.put(sprite2, "Dunkelblau");
arrayMap.put(sprite3, "Dunkelgrün");
arrayMap.put(sprite4, "Gelb");
arrayMap.put(sprite5, "Hellblau");
arrayMap.put(sprite6, "Hellgrün");
arrayMap.put(sprite7, "Lila");
arrayMap.put(sprite8, "Orange");
arrayMap.put(sprite9, "Rosa");
Now I want to show randomly four of these sprites on a screen of a device. However, I don´t know how to use the ArrayMap and decide (randomly) which sprites will be drawn. I hope somebody can help me.