title: How to collapse ImageView nested inside a CoordinatorLayout
body: <p>I have the following layout</p>
  
  <pre><code>&lt;CoordinatorLayout&gt;
  
      &lt;CardView&gt;
          &lt;LinearLayout&gt;
              &lt;ImageView /&gt;
              &lt;View /&gt;
          &lt;/LinearLayout&gt;
      &lt;/CardView&gt;
  
      &lt;RecyclerView /&gt;
  
  &lt;/CoordinatorLayout&gt;
  </code></pre>
  
  <p>I just want to hide the ImageView with parallax animation whenever the RecyclerView is scrolled down and show the ImageView whenever RecyclerView is scrolled up. I got to know that this behaviour can be achieved using CoordinatorLayout.</p>