com.google.android.material.bottomsheet.BottomSheetDialogFragment Java Examples

The following examples show how to use com.google.android.material.bottomsheet.BottomSheetDialogFragment. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RecipientBottomSheetDialogFragment.java    From mollyim-android with GNU General Public License v3.0 5 votes vote down vote up
public static BottomSheetDialogFragment create(@NonNull RecipientId recipientId,
                                               @Nullable GroupId groupId)
{
  Bundle                             args     = new Bundle();
  RecipientBottomSheetDialogFragment fragment = new RecipientBottomSheetDialogFragment();

  args.putString(ARGS_RECIPIENT_ID, recipientId.serialize());
  if (groupId != null) {
    args.putString(ARGS_GROUP_ID, groupId.toString());
  }

  fragment.setArguments(args);

  return fragment;
}
 
Example #2
Source File: LyricBottomSheet.java    From MusicPlayer with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(BottomSheetDialogFragment.STYLE_NORMAL, R.style.TransparentBottomSheetDialogTheme);
}
 
Example #3
Source File: ContentSortDialogFragment.java    From lbry-android with MIT License 4 votes vote down vote up
public SortByItemClickListener(BottomSheetDialogFragment dialog, SortByListener listener) {
    this.dialog = dialog;
    this.listener = listener;
}
 
Example #4
Source File: ContentFromDialogFragment.java    From lbry-android with MIT License 4 votes vote down vote up
public ContentFromItemClickListener(BottomSheetDialogFragment dialog, ContentFromListener listener) {
    this.dialog = dialog;
    this.listener = listener;
}
 
Example #5
Source File: ContentScopeDialogFragment.java    From lbry-android with MIT License 4 votes vote down vote up
public ContentScopeItemClickListener(BottomSheetDialogFragment dialog, ContentScopeListener listener) {
    this.dialog = dialog;
    this.listener = listener;
}