Skip to content

Instantly share code, notes, and snippets.

@skydoves
Last active April 27, 2022 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skydoves/de50db7f5ccad64d83bbca6b894ef9c3 to your computer and use it in GitHub Desktop.
Save skydoves/de50db7f5ccad64d83bbca6b894ef9c3 to your computer and use it in GitHub Desktop.
bottom_sheet_fragment_example
class MyBottomSheetDialogFragment: BottomSheetDialogFragment() {
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
return inflater.inflate(R.layout.my_bottom_sheet_fragment, container, false)
}
companion object {
const val TAG = "MyBottomSheetDialogFragment"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment