Skip to content

Instantly share code, notes, and snippets.

@igorwojda
Created October 21, 2017 13:17
Show Gist options
  • Save igorwojda/f2490b961ee9c9826082c5dc5c13b216 to your computer and use it in GitHub Desktop.
Save igorwojda/f2490b961ee9c9826082c5dc5c13b216 to your computer and use it in GitHub Desktop.
Side effects - modify variable outside function
fun setProgressbarVisibility(visible:Boolean): Int {
progressBar.visible = visible;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment