Last active
November 6, 2022 09:58
-
-
Save k0siara/19411c085e349e9a2b7bf48a3e268d34 to your computer and use it in GitHub Desktop.
CustomDialog.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomDialog : DialogFragment(R.layout.custom_dialog) { | |
private val binding by viewBinding<CustomDialogBinding>() | |
private val viewModel by viewModels<CustomDialogViewModel>() | |
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { | |
super.onViewCreated(view, savedInstanceState) | |
// Setup UI and other stuff ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment