Little refactoring

This commit is contained in:
dankito 2020-10-23 01:24:02 +02:00
parent 4a0e694282
commit 195a46361d
1 changed files with 5 additions and 3 deletions

View File

@ -99,11 +99,13 @@ open class TransferMoneyDialog : DialogFragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
val rootView = inflater.inflate(R.layout.dialog_transfer_money, container, false)
return inflater.inflate(R.layout.dialog_transfer_money, container, false)
}
setupUI(rootView)
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
return rootView
setupUI(view)
}
protected open fun setupUI(rootView: View) {