title: How do I add Listener to ObjectAnimator in Kotlin?
body: <p>I did something like this </p>
  
  <pre><code>val animator = ObjectAnimator.ofFloat(view, "translationY", 350f,0f)
      animator.duration = 500
      animator.startDelay=200
      animator.interpolator =AccelerateDecelerateInterpolator()
      animator.start()
  </code></pre>
  
  <p>Now I am trying to add listener to this adapter.
  I have tried this, </p>
  
  <pre><code>animator.addListener(onStart = {view.visibility=View.VISIBLE})
  </code></pre>
  
  <p>but is not working. </p>