@Override
	public void shareViaSocialNetworks(Activity context, final Entity entity, final ShareOptions shareOptions, final SocialNetworkShareListener listener, final SocialNetwork...networks) {
		
		final SocializeSession session = getSocialize().getSession();
		
		if(isDisplayAuthDialog(context, session, shareOptions, networks)) {
			
			authDialogFactory.show(context, new AuthDialogListener() {
				
				@Override
				public void onShow(Dialog dialog, AuthPanelView dialogView) {}
				
				@Override
				public void onCancel(Dialog dialog) {
					if(listener != null) {
						listener.onCancel();
					}
				}
				
				@Override
				public void onSkipAuth(Activity context, Dialog dialog) {
					dialog.dismiss();
					doShare(context, entity, listener, shareOptions, networks);
				}

				@Override
				public void onError(Activity context, Dialog dialog, Exception error) {
					dialog.dismiss();
					if(listener != null) {
						listener.onError(SocializeException.wrap(error));
					}
				}

				@Override
				public void onAuthenticate(Activity context, Dialog dialog, SocialNetwork network) {
					dialog.dismiss();
					doShare(context, entity, listener, shareOptions, network);
				}
			}, !config.isAllowSkipAuthOnAllActions());
		}
		else {
			doShare(context, entity, listener, shareOptions, networks);
		}			
	}
@Override
	public void shareViaSocialNetworks(Activity context, final Entity entity, final ShareOptions shareOptions, final SocialNetworkShareListener listener, final SocialNetwork...networks) {
		
		final SocializeSession session = getSocialize().getSession();
		
		if(isDisplayAuthDialog(context, session, shareOptions, networks)) {
			
			authDialogFactory.show(context, new AuthDialogListener() {
				
				@Override
				public void onShow(Dialog dialog, AuthPanelView dialogView) {}
				
				@Override
				public void onCancel(Dialog dialog) {
					if(listener != null) {
						listener.onCancel();
					}
				}
				
				@Override
				public void onSkipAuth(Activity context, Dialog dialog) {
					dialog.dismiss();
					doShare(context, entity, listener, shareOptions, networks);
				}

				@Override
				public void onError(Activity context, Dialog dialog, Exception error) {
					dialog.dismiss();
					if(listener != null) {
						listener.onError(SocializeException.wrap(error));
					}
				}

				@Override
				public void onAuthenticate(Activity context, Dialog dialog, SocialNetwork network) {
					dialog.dismiss();
					doShare(context, entity, listener, shareOptions, network);
				}
			}, !config.isAllowSkipAuthOnAllActions());
		}
		else {
			doShare(context, entity, listener, shareOptions, networks);
		}			
	}
@ Override public void shareViaSocialNetworks ( Activity context , final Entity entity , final ShareOptions shareOptions , final SocialNetworkShareListener listener , final SocialNetwork ... networks ) { final SocializeSession session = getSocialize ( ) . getSession ( ) ; if ( isDisplayAuthDialog ( context , session , shareOptions , networks ) ) { authDialogFactory . show ( context , new AuthDialogListener ( ) { @ Override public void onShow ( Dialog dialog , AuthPanelView dialogView ) { } @ Override public void onCancel ( Dialog dialog ) { if ( listener != null ) { listener . onCancel ( ) ; } } @ Override public void onSkipAuth ( Activity context , Dialog dialog ) { dialog . dismiss ( ) ; doShare ( context , entity , listener , shareOptions , networks ) ; } @ Override public void onError ( Activity context , Dialog dialog , Exception error ) { dialog . dismiss ( ) ; if ( listener != null ) { listener . onError ( SocializeException . wrap ( error ) ) ; } } @ Override public void onAuthenticate ( Activity context , Dialog dialog , SocialNetwork network ) { dialog . dismiss ( ) ; doShare ( context , entity , listener , shareOptions , network ) ; } } , ! config . isAllowSkipAuthOnAllActions ( ) ) ; } else { doShare ( context , entity , listener , shareOptions , networks ) ; } }
/*
(non-Javadoc)
@see com.socialize.api.action.share.ShareUtilsProxy#shareViaSocialNetworks(android.app.Activity, com.socialize.entity.Entity, com.socialize.api.action.share.ShareOptions, com.socialize.api.action.share.SocialNetworkShareListener, com.socialize.networks.SocialNetwork[])
/ * ( non - Javadoc )