@Test public void getFlagsReturnsDefault() throws Exception { final int flags = new LoadingDialogFragment().getFlags(); assertThat(flags, equalTo(LoadingDialogFragment.DEFAULTS)); }
public int getFlags() { final Bundle args = getArguments(); if(args != null) { return args.getInt(ARG_FLAGS, DEFAULTS); } else { return DEFAULTS; } }
LoadingDialogFragment extends SenseDialogFragment { public int getFlags() { final Bundle args = getArguments(); if(args != null) { return args.getInt(ARG_FLAGS, DEFAULTS); } else { return DEFAULTS; } } }
LoadingDialogFragment extends SenseDialogFragment { public int getFlags() { final Bundle args = getArguments(); if(args != null) { return args.getInt(ARG_FLAGS, DEFAULTS); } else { return DEFAULTS; } }  }
LoadingDialogFragment extends SenseDialogFragment { public int getFlags() { final Bundle args = getArguments(); if(args != null) { return args.getInt(ARG_FLAGS, DEFAULTS); } else { return DEFAULTS; } }  static @NonNull LoadingDialogFragment show(@NonNull final FragmentManager fm,
                                                      @Nullable final String title,
                                                      final int flags); static @NonNull LoadingDialogFragment show(@NonNull final FragmentManager fm); static void close(@NonNull final FragmentManager fm); static void closeWithOnComplete(@NonNull final FragmentManager fm, @Nullable final Runnable onCompletion); static void closeWithDoneTransition(@NonNull final FragmentManager fm, @Nullable final Runnable onCompletion); static void closeWithMessageTransition(@NonNull final FragmentManager fm,
                                                  @Nullable final Runnable onCompletion,
                                                  @StringRes final int messageRes); static LoadingDialogFragment newInstance(@Nullable final String title, @Config final int flags); @Override void onCreate(final Bundle savedInstanceState); @Override @NonNull Dialog onCreateDialog(final Bundle savedInstanceState); @Override void onDestroy(); void setTitle(@Nullable final String title); void setDismissMessage(@StringRes final int messageRes); void setOnShowListener(@NonNull final SenseAlertDialog.SerializedRunnable onShow); void setLockOrientation(); int getFlags(); void dismissWithOnComplete(@Nullable final Runnable onCompletion, final long delay); void dismissWithDoneTransition(@Nullable final Runnable onCompletion); }
LoadingDialogFragment extends SenseDialogFragment { public int getFlags() { final Bundle args = getArguments(); if(args != null) { return args.getInt(ARG_FLAGS, DEFAULTS); } else { return DEFAULTS; } }  static @NonNull LoadingDialogFragment show(@NonNull final FragmentManager fm,
                                                      @Nullable final String title,
                                                      final int flags); static @NonNull LoadingDialogFragment show(@NonNull final FragmentManager fm); static void close(@NonNull final FragmentManager fm); static void closeWithOnComplete(@NonNull final FragmentManager fm, @Nullable final Runnable onCompletion); static void closeWithDoneTransition(@NonNull final FragmentManager fm, @Nullable final Runnable onCompletion); static void closeWithMessageTransition(@NonNull final FragmentManager fm,
                                                  @Nullable final Runnable onCompletion,
                                                  @StringRes final int messageRes); static LoadingDialogFragment newInstance(@Nullable final String title, @Config final int flags); @Override void onCreate(final Bundle savedInstanceState); @Override @NonNull Dialog onCreateDialog(final Bundle savedInstanceState); @Override void onDestroy(); void setTitle(@Nullable final String title); void setDismissMessage(@StringRes final int messageRes); void setOnShowListener(@NonNull final SenseAlertDialog.SerializedRunnable onShow); void setLockOrientation(); int getFlags(); void dismissWithOnComplete(@Nullable final Runnable onCompletion, final long delay); void dismissWithDoneTransition(@Nullable final Runnable onCompletion); static final String TAG; static final long DURATION_DONE_MESSAGE; static final long DURATION_DEFAULT; static final int OPAQUE_BACKGROUND; static final int DEFAULTS; }