title: How to apply staggered grid layout horizontal with different height size
body: <p>So i have to do one layout like on the image, i need to do some scroll list horizontal but with different image size height. It works perfectly with the staggered layout but only at vertical.</p>
  
  <p>This is how i am initiating the adapter:</p>
  
  <pre><code>StaggeredGridLayoutManager mLayoutManager = new StaggeredGridLayoutManager(2, LinearLayoutManager.HORIZONTAL);
  mRecyclerView.setLayoutManager(mLayoutManager);
  mRecyclerView.setHasFixedSize(true);
  mAdapter = new ColorAdapter(this, list);
  mRecyclerView.setAdapter(mAdapter);
  </code></pre>
  
  <p>The adapter is inflating 2 xml with different types, does anyone know how to do that with the <code>staggeredlayoutmanager</code>?</p>
  
  <p>Thank you!!</p>
  
  <p><img src="https://i.stack.imgur.com/qImWY.jpg" alt="Staggered layout horizontal"></p>