code: public View.OnClickListener getPingDetailListener( final GeoPoint targetUserGeoPoint )
    {
      return new View.OnClickListener()
      {
        @Override
        public void onClick( View view )
        {
          Lifecycle.runMatchViewActivityFromPings( PingsActivity.this, currentUserGeoPoint, targetUserGeoPoint, "1" );
        }
      };
    }
docs: Listeners section