sdk/src/com/socialize/api/action/share/SocializeShareUtils.java
@Override
	public void registerShare(Activity context, Entity entity, ShareOptions shareOptions, ShareAddListener listener, SocialNetwork...networks) {
		
		String text = null;
		if(shareOptions != null)  text = shareOptions.getText();
		if(text == null) text = "";
		
		ShareType shareType = ShareType.OTHER;
		
		if(networks != null && networks.length > 0) {
			if(networks.length == 1) {
				shareType = ShareType.valueOf(networks[0]);
			}
		}
		
		shareSystem.addShare(context, getSocialize().getSession(), entity, text, shareType, listener, networks);
	}
@Override
	public void registerShare(Activity context, Entity entity, ShareOptions shareOptions, ShareAddListener listener, SocialNetwork...networks) {
		
		String text = null;
		if(shareOptions != null)  text = shareOptions.getText();
		if(text == null) text = "";
		
		ShareType shareType = ShareType.OTHER;
		
		if(networks != null && networks.length > 0) {
			if(networks.length == 1) {
				shareType = ShareType.valueOf(networks[0]);
			}
		}
		
		shareSystem.addShare(context, getSocialize().getSession(), entity, text, shareType, listener, networks);
	}
@ Override public void registerShare ( Activity context , Entity entity , ShareOptions shareOptions , ShareAddListener listener , SocialNetwork ... networks ) { String text = null ; if ( shareOptions != null ) text = shareOptions . getText ( ) ; if ( text == null ) text = "" ; ShareType shareType = ShareType . OTHER ; if ( networks != null && networks . length > 0 ) { if ( networks . length == 1 ) { shareType = ShareType . valueOf ( networks [ 0 ] ) ; } } shareSystem . addShare ( context , getSocialize ( ) . getSession ( ) , entity , text , shareType , listener , networks ) ; }
/*
(non-Javadoc)
@see com.socialize.api.action.share.ShareUtilsProxy#registerShare(android.app.Activity, com.socialize.entity.Entity, com.socialize.api.action.share.ShareOptions, com.socialize.listener.share.ShareAddListener, com.socialize.networks.SocialNetwork[])
/ * ( non - Javadoc )