1

Android: Why cant i save more objects in my arraylist

view story
linux-howto

http://stackoverflow.com – why is that when i make a touched pinpoint, it only takes the last pinpoints in the arraylist. When i measure the arraylist size, it says that the size is 1 even though I am saving 2 or more pinpoints. GoogleMaps Class. public class GoogleMaps extends MapActivity implements LocationListener { public void addLocation() { AlertDialog.Builder alert = new AlertDialog.Builder(this); final EditText input = new EditText(this); alert.setTitle("What do you want to call the location?"); alert.setView(input); alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() { (HowTos)