File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
lib/java/com/google/android/material/bottomsheet Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2525
2626 androidXVersions = [
2727 annotation : ' 1.2.0' ,
28- appCompat : ' 1.1 .0' ,
28+ appCompat : ' 1.4 .0' ,
2929 cardView : ' 1.0.0' ,
3030 constraintlayout : ' 2.0.1' ,
3131 coordinatorlayout : ' 1.1.0' ,
Original file line number Diff line number Diff line change 1616
1717package com .google .android .material .bottomsheet ;
1818
19+ import android .annotation .SuppressLint ;
1920import android .app .Dialog ;
2021import android .os .Bundle ;
2122import androidx .appcompat .app .AppCompatDialogFragment ;
2223import android .view .View ;
24+ import androidx .annotation .LayoutRes ;
2325import androidx .annotation .NonNull ;
2426import androidx .annotation .Nullable ;
2527
@@ -35,6 +37,13 @@ public class BottomSheetDialogFragment extends AppCompatDialogFragment {
3537 */
3638 private boolean waitingForDismissAllowingStateLoss ;
3739
40+ public BottomSheetDialogFragment () {}
41+
42+ @ SuppressLint ("ValidFragment" )
43+ public BottomSheetDialogFragment (@ LayoutRes int contentLayoutId ) {
44+ super (contentLayoutId );
45+ }
46+
3847 @ NonNull
3948 @ Override
4049 public Dialog onCreateDialog (@ Nullable Bundle savedInstanceState ) {
You can’t perform that action at this time.
0 commit comments