sdk/src/com/socialize/ui/share/ShareClickListener.java
@Override
	public void onClick(View view) {
		final ProgressDialog dialog = progressDialogFactory.show(view.getContext(), I18NConstants.DLG_SHARE, I18NConstants.DLG_SHARE_MESSAGE + " " + shareType.getDisplayName() + "...");
		
		ShareOptions shareOptions = ShareUtils.getUserShareOptions(context);
		shareOptions.setText(provider.getShareText());
		
		ShareUtils.registerShare(context, entity, shareOptions, new ShareAddListener() {
			@Override
			public void onError(SocializeException error) {
				dialog.dismiss();
				alertDialogFactory.showToast(context, "Share failed.  Please try again");
			}
			
			@Override
			public void onCreate(Share share) {
				dialog.dismiss();
				if(onActionBarEventListener != null) {
					onActionBarEventListener.onPostShare(actionBarView, share);
				}
			}
		}, SocialNetwork.valueOf(shareType));
	}
@Override
	public void onClick(View view) {
		final ProgressDialog dialog = progressDialogFactory.show(view.getContext(), I18NConstants.DLG_SHARE, I18NConstants.DLG_SHARE_MESSAGE + " " + shareType.getDisplayName() + "...");
		
		ShareOptions shareOptions = ShareUtils.getUserShareOptions(context);
		shareOptions.setText(provider.getShareText());
		
		ShareUtils.registerShare(context, entity, shareOptions, new ShareAddListener() {
			@Override
			public void onError(SocializeException error) {
				dialog.dismiss();
				alertDialogFactory.showToast(context, "Share failed.  Please try again");
			}
			
			@Override
			public void onCreate(Share share) {
				dialog.dismiss();
				if(onActionBarEventListener != null) {
					onActionBarEventListener.onPostShare(actionBarView, share);
				}
			}
		}, SocialNetwork.valueOf(shareType));
	}
@ Override public void onClick ( View view ) { final ProgressDialog dialog = progressDialogFactory . show ( view . getContext ( ) , I18NConstants . DLG_SHARE , I18NConstants . DLG_SHARE_MESSAGE + " " + shareType . getDisplayName ( ) + "..." ) ; ShareOptions shareOptions = ShareUtils . getUserShareOptions ( context ) ; shareOptions . setText ( provider . getShareText ( ) ) ; ShareUtils . registerShare ( context , entity , shareOptions , new ShareAddListener ( ) { @ Override public void onError ( SocializeException error ) { dialog . dismiss ( ) ; alertDialogFactory . showToast ( context , "Share failed.  Please try again" ) ; } @ Override public void onCreate ( Share share ) { dialog . dismiss ( ) ; if ( onActionBarEventListener != null ) { onActionBarEventListener . onPostShare ( actionBarView , share ) ; } } } , SocialNetwork . valueOf ( shareType ) ) ; }
/* (non-Javadoc)
@see android.view.View.OnClickListener#onClick(android.view.View)
/ * ( non - Javadoc )