Code example for HashMap

Methods: getremove

0
		if (proxy != null) {
			proxy.fireEvent(event, eventData);
			idToViewProxy.remove(id);
		} 
 
		PaypalModule module = idToModule.get(id);
		if (module != null) {
			module.fireEvent(event, eventData);
			idToModule.remove(id);
		} 
	} 
 
	public void executePayment(TiViewProxy proxy, PayPalPayment newPayment) {
		Activity activity = TiApplication.getAppCurrentActivity();
		Intent checkoutIntent = PayPal.getInstance().checkout(newPayment, activity, enqueueDelegate(this, proxy));
		activity.startActivity(checkoutIntent);
	} 
 
	public void executeAdvancedPayment(TiViewProxy proxy, PayPalAdvancedPayment newPayment) {
		Activity activity = TiApplication.getAppCurrentActivity();
		Intent checkoutIntent = PayPal.getInstance().checkout(newPayment, activity, enqueueDelegate(this, proxy));