
I'm trying to achieve a layout similar to the picture above with the RecyclerView in conjunction with the GridLayoutManager, i tried setting the setSpanSizeLookup based on position but couldn't mimic the design above..
anyone could help please?
    mRecyclerView = (RecyclerView) contentView;
    mRecyclerView.setHasFixedSize(false);
    GridLayoutManager gridLayoutManager = new GridLayoutManager(getActivity(), 3);
    gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
        @Override
        public int getSpanSize(int position) {
            return 3 - (position % 3);
        }
    });
    mRecyclerView.setLayoutManager(gridLayoutManager);
..
What i'm getting 
