Skip to content

Instantly share code, notes, and snippets.

Created March 10, 2021 18:27
What would you like to do?
private var _binding: ProfileBinding? = null
private val binding get() = _binding!!
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
_binding = ProfileBinding.inflate(inflater, container, false)
val view = binding.root
return view
override fun onDestroyView() {
_binding = null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment