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)

By Neha S

Leave a Reply

Your email address will not be published.