Code example for ListFragment

Methods: onPause

0
   
  @Override 
  public void onPause() 
  { 
    Route.unregisterListener(this);
    super.onPause(); 
  } // onPause 
	 
	@Override 
  public void onListItemClick(ListView l, View v, int position, long id)
	{ 
	  if(journey_.isEmpty())
	    return; 
    	   
	  journey_.setActiveSegmentIndex(position);
	  ((CycleStreets)getActivity()).showMap();
	} // onListItemClick 
     
  @Override 
  public void onNewJourney(final Journey journey, final Waypoints waypoints)
  {