Created
July 18, 2019 01:51
-
-
Save ininmm/5a317aac862353c7404afe3aabd30741 to your computer and use it in GitHub Desktop.
Databinding.bind
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? { | |
val view = inflater.inflate(R.layout.tasks_frag, container, false) | |
viewDataBinding = TaskdetailFragBinding.bind(view).apply { | |
viewmodel = viewModel | |
} | |
... | |
... | |
return view | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment