Gridlayout Manager With Recycerview android : <p><a href="https://i.stack.imgur.com/pFihc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pFihc.png" alt="Real Image"></a></p>

<p>I want to create this type of layout using Recycerview.but i am gettting some issue with it.</p>

<pre><code> recyclerView.setLayoutManager(new GridLayoutManager(parentActivity, 2));
</code></pre>

<p>using above line ,i have display list in 2 column .but when height of some view is small then getting blank space..i want to remove that blank space. </p>

<p>issue screenshot:</p>

<p><a href="https://i.stack.imgur.com/zkBva.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zkBva.png" alt="Current Screen"></a></p>

<p>Please give solution to remove that space.</p>
