ConstraintLayout & Android Studio Design Tools

ConstraintLayout & Android Studio Design Tools

Transcript

  1. 5.
  2. 11.
  3. 13.

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

    Boolean { viewTreeObserver.removeOnPreDrawListener(this) actionToBeTriggered() return true } }); view.doOnPreDraw { actionToBeTriggered() }
  4. 14.
  5. 42.
  6. 48.
  7. 53.
  8. 55.