@Override
	public void show(Context context, final AuthDialogListener listener, final boolean required) {
		showDialog(context, new BeanCreationListener<AuthPanelView>() {
			
			@Override
			public void onError(String name, Exception e) {}
			
			@Override
			public void onCreate(AuthPanelView bean) {
				bean.setAuthDialogListener(listener);
				bean.setAuthRequired(required);
			}
		}, new AuthDialogListener() {
			
			@Override
			public void onShow(Dialog dialog, AuthPanelView dialogView) {
				recordEvent("show");
				if(listener != null) {
					listener.onShow(dialog, dialogView);
				}
			}
			
			@Override
			public void onCancel(Dialog dialog) {
				recordEvent("cancel");
				if(listener != null) {
					listener.onCancel(dialog);
				}
			}
			
			@Override
			public void onSkipAuth(Activity context, Dialog dialog) {
				recordEvent("skip");
				if(listener != null) {
					listener.onSkipAuth(context, dialog);
				}
			}
			
			@Override
			public void onError(Activity context, Dialog dialog, Exception error) {
				recordEvent("error");
				if(listener != null) {
					listener.onError(context, dialog, error);
				}
			}
			
			@Override
			public void onAuthenticate(Activity context, Dialog dialog, SocialNetwork network) {
				recordEvent("auth", network.name());
				if(listener != null) {
					listener.onAuthenticate(context, dialog, network);
				}
			}
		});
	}
@Override
	public void show(Context context, final AuthDialogListener listener, final boolean required) {
		showDialog(context, new BeanCreationListener<AuthPanelView>() {
			
			@Override
			public void onError(String name, Exception e) {}
			
			@Override
			public void onCreate(AuthPanelView bean) {
				bean.setAuthDialogListener(listener);
				bean.setAuthRequired(required);
			}
		}, new AuthDialogListener() {
			
			@Override
			public void onShow(Dialog dialog, AuthPanelView dialogView) {
				recordEvent("show");
				if(listener != null) {
					listener.onShow(dialog, dialogView);
				}
			}
			
			@Override
			public void onCancel(Dialog dialog) {
				recordEvent("cancel");
				if(listener != null) {
					listener.onCancel(dialog);
				}
			}
			
			@Override
			public void onSkipAuth(Activity context, Dialog dialog) {
				recordEvent("skip");
				if(listener != null) {
					listener.onSkipAuth(context, dialog);
				}
			}
			
			@Override
			public void onError(Activity context, Dialog dialog, Exception error) {
				recordEvent("error");
				if(listener != null) {
					listener.onError(context, dialog, error);
				}
			}
			
			@Override
			public void onAuthenticate(Activity context, Dialog dialog, SocialNetwork network) {
				recordEvent("auth", network.name());
				if(listener != null) {
					listener.onAuthenticate(context, dialog, network);
				}
			}
		});
	}
@ Override public void show ( Context context , final AuthDialogListener listener , final boolean required ) { showDialog ( context , new BeanCreationListener < AuthPanelView > ( ) { @ Override public void onError ( String name , Exception e ) { } @ Override public void onCreate ( AuthPanelView bean ) { bean . setAuthDialogListener ( listener ) ; bean . setAuthRequired ( required ) ; } } , new AuthDialogListener ( ) { @ Override public void onShow ( Dialog dialog , AuthPanelView dialogView ) { recordEvent ( "show" ) ; if ( listener != null ) { listener . onShow ( dialog , dialogView ) ; } } @ Override public void onCancel ( Dialog dialog ) { recordEvent ( "cancel" ) ; if ( listener != null ) { listener . onCancel ( dialog ) ; } } @ Override public void onSkipAuth ( Activity context , Dialog dialog ) { recordEvent ( "skip" ) ; if ( listener != null ) { listener . onSkipAuth ( context , dialog ) ; } } @ Override public void onError ( Activity context , Dialog dialog , Exception error ) { recordEvent ( "error" ) ; if ( listener != null ) { listener . onError ( context , dialog , error ) ; } } @ Override public void onAuthenticate ( Activity context , Dialog dialog , SocialNetwork network ) { recordEvent ( "auth" , network . name ( ) ) ; if ( listener != null ) { listener . onAuthenticate ( context , dialog , network ) ; } } } ) ; }
/* (non-Javadoc)
@see com.socialize.ui.auth.IAuthDialogFactory#show(android.content.Context, com.socialize.ui.auth.AuthDialogListener)
/ * ( non - Javadoc )