Skip to content

Commit

Permalink
Merge pull request #18 from mobven/add_tag_to_bottom_sheet_exposer
Browse files Browse the repository at this point in the history
Add tag to BottomSheetExposer
  • Loading branch information
abalta authored Dec 27, 2024
2 parents 98e0c1c + 972aef3 commit 08cd00f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ fun bottomSheetOf(
fragmentManager: FragmentManager,
heightMultiplier: Int = 50,
isWrapContent: Boolean = false,
tag: String = "BOTTOM_SHEET",
dialogTheme: Int = android.R.style.Theme_Material_NoActionBar_TranslucentDecor,
viewHolderCreator: (inflater: LayoutInflater, sheet: BottomSheetExposer) -> View?
) {
Expand All @@ -88,5 +89,5 @@ fun bottomSheetOf(
isWrapContent,
dialogTheme,
viewHolderCreator
).show(fragmentManager, "BOTTOM_SHEET")
).show(fragmentManager, tag)
}

0 comments on commit 08cd00f

Please sign in to comment.