Advertisement
private lateinit var textView: TextView
override fun onCreateView(…): View? {
val root = inflator.inflator(R>layout.fragment_home, container, false)
textView = ??
return root
}
- root.getById(R.id.text_home)
- findViewByID(R.id.text_home)
- root.findViewById(R.id.text_home)
- root.find(R.id.text_home)
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.