title: Property delegate must have a 'getValue(ChatActivity, KProperty<*>)' method. None of the following functions is suitable:
body: <pre><code>//getting an error in android studio when using lazy for getStringExtra
  
  private val name : String by lazy {
      intent.getStringExtra(UID)
  }
  </code></pre>
  <p>another class</p>
  <p><img src="https://i.stack.imgur.com/i3rgv.png" alt="enter image description here" /></p>
  <pre><code> val intent = Intent(requireContext(),ChatActivity::class.java)
                        intent.putExtra(UID,id)
                        intent.putExtra(NAME,name)
                        intent.putExtra(IMAGE,photo)
                        startActivity(intent)
  </code></pre>