Fragmented · September 24, 2018

136: Kotlin Extension Functions

In this fragment episode, Donn talks about Kotlin extension functions. He discusses what they are, how to build them, why they're useful, how to organize them, visibility and how to call them Java and much more.

Show Notes


import android.view.View

fun View.gone() {

    this.visibility = View.GONE
}

fun View.visible() {

    this.visibility = View.VISIBLE
}

Contact

Copyright 2024 Spec Network, Inc.