Skip to content

Instantly share code, notes, and snippets.

@sudeshim3
Created October 10, 2019 10:28
Show Gist options
  • Save sudeshim3/c9ce009e1d4d5d32279e20f6a975e9fe to your computer and use it in GitHub Desktop.
Save sudeshim3/c9ce009e1d4d5d32279e20f6a975e9fe to your computer and use it in GitHub Desktop.
class DeleteScreenConfirmationBottomSheet : BottomSheetDialogFragment() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setStyle(STYLE_NORMAL, R.style.BottomSheetDialog)
}
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
super.onCreateView(inflater, container, savedInstanceState)
return inflater.inflate(R.layout.screener_delete_screen_confirmation, container, false)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment