Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ConstraintLayout & Android Studio Design Tools

ConstraintLayout & Android Studio Design Tools

More Decks by Daichi Furiya (Wasabeef)

Other Decks in Programming

Transcript

  1. Android KTX view.viewTreeObserver.addOnPreDrawListener( object : ViewTreeObserver.OnPreDrawListener { override fun onPreDraw():

    Boolean { viewTreeObserver.removeOnPreDrawListener(this) actionToBeTriggered() return true } }); view.doOnPreDraw { actionToBeTriggered() }