setLoading

fun setLoading(loading: Boolean)

Set the loading state of the button.