Skip to content

Instantly share code, notes, and snippets.

@rygelouv
Created April 12, 2018 18:51
Show Gist options
  • Select an option

  • Save rygelouv/0855f02ddb442019e8ebccaaa333c603 to your computer and use it in GitHub Desktop.

Select an option

Save rygelouv/0855f02ddb442019e8ebccaaa333c603 to your computer and use it in GitHub Desktop.
text1.text.text = "Upload profile picture"
text2.text.text = "Upload document"
text3.text.text = "Validate process"
text1.setState(State.LOADING)
// We simulate a running task
Handler().postDelayed({
text1.setState(State.DONE)
}, 1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment