Android : Differentiate ArrayList

on Saturday, January 31, 2015


My app deals with itineraries and distances between cities. Because some itineraries match with more than one cities, an ArrayListArrayListString is creating with duplicate items-itineraries. Few lines below i need to assign distances to that duplicate itineraries. Here comes the problem...I can't assign different distances to that duplicate objects. I thought that different position differentiates those duplicate items...Is there any way to differentiate them; I tried with ArrayListHashmapString with no results. Any idea;


0 comments:

Post a Comment