title: Change RecyclerView's Layout on orientation change
body: <p>I'm having <code>RecyclerView</code> with <code>GridLayoutManager</code>. I'm displaying Single Column for landscape and Seven Columns for landscape. 
  Using:</p>
  
  <pre><code> @Override
      public void onConfigurationChanged(Configuration newConfig)
      {
          recyclerViewCalender.setLayoutManager(new GridLayoutManager(this, newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE ? 7 : 1));
          super.onConfigurationChanged(newConfig);
      }
  </code></pre>
  
  <p>But the problem is the Layout used for portrait is not feasible for landscape.
  So how can I change the layout of <code>RecyclerView</code> on configuration change.
  Or is there any other solution for it??</p>