codelab-constraint-layout
                                
                                 codelab-constraint-layout copied to clipboard
                                
                                    codelab-constraint-layout copied to clipboard
                            
                            
                            
                        2.0 beta-3 issue onTransitionCompleted never called
onTransitionCompleted never called using TransitionToEnd/start, i am changing motion progress with scroll offset.
Code OnTouchListener:
if(event.actionMasked == MotionEvent.ACTION_MOVE) { motionLayout.progress = offsetProgress }
if(event.actionMasked == MotionEvent.ACTION_UP) {
            if (motionLayout.progress < 1f && motionLayout.progress > 0) {
                if (motionLayout.progress > 0.5f) {
                    motionLayout.transitionToEnd()
             
                } else {
                    // to start
                    motionLayout.transitionToStart()
                }
            }