sdk/src/com/socialize/api/action/share/SocializeShareUtils.java
protected void doShare(final Activity context, final Entity entity, final ShareType shareType, final ShareAddListener shareAddListener) {
		final SocializeSession session = getSocialize().getSession();
		shareSystem.addShare(context, session, entity, "", shareType, null, new ShareAddListener() {
			@Override
			public void onError(SocializeException error) {
				if(shareAddListener != null) {
					shareAddListener.onError(error);
				}
			}
			
			@Override
			public void onCreate(Share share) {
				if(share != null && shareSystem != null) {
					handleNonNetworkShare(context, session, shareType, share, "", null, shareAddListener);
				}
			}
		});	
	}
protected void doShare(final Activity context, final Entity entity, final ShareType shareType, final ShareAddListener shareAddListener) {
		final SocializeSession session = getSocialize().getSession();
		shareSystem.addShare(context, session, entity, "", shareType, null, new ShareAddListener() {
			@Override
			public void onError(SocializeException error) {
				if(shareAddListener != null) {
					shareAddListener.onError(error);
				}
			}
			
			@Override
			public void onCreate(Share share) {
				if(share != null && shareSystem != null) {
					handleNonNetworkShare(context, session, shareType, share, "", null, shareAddListener);
				}
			}
		});	
	}
protected void doShare ( final Activity context , final Entity entity , final ShareType shareType , final ShareAddListener shareAddListener ) { final SocializeSession session = getSocialize ( ) . getSession ( ) ; shareSystem . addShare ( context , session , entity , "" , shareType , null , new ShareAddListener ( ) { @ Override public void onError ( SocializeException error ) { if ( shareAddListener != null ) { shareAddListener . onError ( error ) ; } } @ Override public void onCreate ( Share share ) { if ( share != null && shareSystem != null ) { handleNonNetworkShare ( context , session , shareType , share , "" , null , shareAddListener ) ; } } } ) ; }
Creates the socialize share object.
Creates the socialize share object .