How can an assignment call a function? : <p>My activity:</p>

<pre><code>class PlayerDetails : AppCompatActivity() {

    private lateinit var binding: ActivityPlayerDetailsBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = DataBindingUtil.setContentView(this, R.layout.activity_player_details)
    }
</code></pre>

<p>How can an assignment (<code>binding = DataBindingUtil.setContentView(this, R.layout.activity_player_details</code>) call a function? (<code>setContentView()</code>)?</p>
