title: Why my viewgroup (linear layout) is not animating?
body: <p>i don't know why my linear layout (ll_header) is not animating even i am getting the proper callbacks on scrolling the recylcer view.</p>
  
  <p>my viewgroup is not even moving from its position</p>
  
  <p>previously i have also worked on object animators many times they were working very fine i am doing same here but my view is not moving at all</p>
  
  <p>i have also tried with static values still it is still in its position</p>
  
  <pre><code>private fun addListener() {
      rv_demo.addOnScrollListener(object : RecyclerView.OnScrollListener() {
          override fun onScrolled(recyclerView: RecyclerView, dx: Int, dy: Int) {
              super.onScrolled(recyclerView, dx, dy)
  
              objectAnimator = ObjectAnimator.ofInt(ll_header,"translationY", dy)
  
              objectAnimator.start()
          }
      })
  }
  </code></pre>
  
  <p>this is my layout in xml</p>
  
  <pre><code>&lt;RelativeLayout
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_weight="1"
          android:gravity="center_horizontal"
          android:orientation="vertical"&gt;
  
      &lt;androidx.recyclerview.widget.RecyclerView
              android:id="@+id/rv_demo"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"/&gt;
  
      &lt;LinearLayout
              android:id="@+id/ll_header"
              android:layout_width="match_parent"
              android:layout_height="100dp"
              android:orientation="vertical"
              android:background="@android:color/holo_blue_bright"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>please help... thanks in advance .</p>