Created
July 18, 2019 01:52
-
-
Save ininmm/5b1a41e080b1ed4dfed0acd16f629f12 to your computer and use it in GitHub Desktop.
Databinding.inflate
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
override fun onCreateView( | |
inflater: LayoutInflater, container: ViewGroup?, | |
savedInstanceState: Bundle? | |
): View? { | |
viewDataBinding = TasksFragBinding.inflate(inflater, container, false).apply { | |
viewmodel = viewModel | |
} | |
... | |
... | |
return viewDataBinding.root | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment