title: Trying to display name of users on support action bar
body: <p>Please i am new to kotlin and i have been trying to retrive the fullname of my users in the data base after using getStringExtra so i can use each of them for the title of my support action bar but the value it returns an empty value.</p>
  <pre><code>val name = intent.getStringExtra(&quot;fullname&quot;)
      val receiverUid = intent.getStringExtra(&quot;uid&quot;)      
  
  
      val senderUid = FirebaseAuth.getInstance().currentUser?.uid
      mDbRef = FirebaseDatabase.getInstance().getReference()
  
      senderRoom = receiverUid + senderUid
      receiverRoom = senderUid + receiverUid
  
      supportActionBar?.title = name
  </code></pre>
  <p>Here is how i am sending name and receiverUid to my database</p>
  <pre><code>sendButton.setOnClickListener{
          val message = messageBox.text.toString()
          val messageObject = Message(message, senderUid)
          val name = name.toString()
          val receiverUid = receiverUid.toString()
          val chatlistObject = ModelChatList(name, message, receiverUid)
  
          mDbRef.child(&quot;chats&quot;).child(senderRoom!!).child(&quot;messages&quot;).push()
              .setValue(messageObject).addOnSuccessListener {
                  mDbRef.child(&quot;chats&quot;).child(receiverRoom!!).child(&quot;messages&quot;).push()
                      .setValue(messageObject).addOnSuccessListener {
                          mDbRef.child(&quot;Chatlist&quot;).push().setValue(chatlistObject)
                      }
              }
          messageBox.setText(&quot;&quot;)
  </code></pre>
  <p>But when i try to retrive my ModelChatlist object it returns only two values leaving out the receivername as shown in the ModelChatlist below</p>
  <pre><code>class ModelChatList {
   private var receivername:String = &quot;&quot;
   private var lastmessage:String = &quot;&quot;
   private var uid:String = &quot;&quot;
  
  constructor(){}
  
  constructor(receivername: String, lastmessage:String, uid:String){
      this.receivername = receivername
      this.lastmessage = lastmessage
      this.uid =uid
  }
  
  fun getReceivername(): String{
      return receivername
  }
  fun setReceivername(receivername: String){
      this.receivername= receivername
  }
  fun getUid(): String{
      return uid
  }
  fun setUid(uid: String){
      this.uid= uid
  }
  fun getLastmessage(): String{
      return lastmessage
  }
  fun setLastmessage(lastmessage: String){
      this.lastmessage= lastmessage
  }
  </code></pre>
  <p>}</p>
  <p><a href="https://i.stack.imgur.com/qndPE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qndPE.png" alt="Screenshot of the ModalChatlist being sent to my database" /></a></p>
  <p>In case you are wondering, &quot;fullname&quot; is in my database as the name the users enter when they sign up. Thank You</p>