private void configureButtonBarDialogBuilder ( @ NonNull final AbstractButtonBarDialogBuilder builder ) { if ( shouldNegativeButtonBeShown ( ) ) { builder . setNegativeButton ( getNegativeButtonText ( ) , createNegativeButtonListener ( ) ) ; } if ( shouldNeutralButtonBeShown ( ) ) { builder . setNeutralButton ( getNeutralButtonText ( ) , createNeutralButtonListener ( ) ) ; } if ( shouldPositiveButtonBeShown ( ) ) { builder . setPositiveButton ( getPositiveButtonText ( ) , createPositiveButtonListener ( ) ) ; } builder . stackButtons ( shouldStackButtons ( ) ) ; builder . showButtonBarDivider ( shouldButtonBarDividerBeShown ( ) ) ; }
Configures a builder which allows to create button bar dialogs depending on the app s settings .