title: RecyclerView inside ViewPager Fragment don't show
body: <p>So i have a fragment, which have a viewpager with tablayout, which consist of two tabs-two fragments.</p>
  
  <p>The thing is, recyclerview shows empty, and i have no idea why.,</p>
  
  <p>Tab Fragment LAyout:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/my_recycler_view"
          android:layout_width="match_parent"
          android:layout_height="match_parent"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Tag Fragment:</p>
  
  <pre><code>List&lt;OrderListItem&gt; orderList = new ArrayList&lt;&gt;();
          orderList.add(new OrderListItem(333, "ABCDE", new Date(), new Date(), false, true));
  
          adapter = new OrderListAdapter(orderList, this.getActivity());
          layoutManager = new LinearLayoutManager(this.getActivity(), LinearLayoutManager.VERTICAL, false);
          myRecyclerView.setLayoutManager(layoutManager);
          myRecyclerView.setAdapter(adapter);
  </code></pre>
  
  <p>Adapter:</p>
  
  <pre><code>public class OrderListAdapter extends RecyclerView.Adapter&lt;OrderListAdapter.ViewHolder&gt;{
  
      private List&lt;OrderListItem&gt; orderList;
      @LayoutRes
      private final int layoutRes;
  
      private Context context;
      private final LayoutInflater inflater;
  
      public OrderListAdapter(List&lt;OrderListItem&gt; orderList, Context context){
          this.orderList = orderList;
          this.layoutRes = R.layout.order_list_item_layout;
          this.context = context;
          inflater = LayoutInflater.from(this.context);
      }
  
      @Override
      public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
          View view = inflater.inflate(layoutRes, parent, false);
          return new ViewHolder(view);
      }
  
      @Override
      public void onBindViewHolder(ViewHolder holder, int position) {
          final OrderListItem item = orderList.get(position);    
      }
  
      public void setItems(List&lt;OrderListItem&gt; orderList){
          this.orderList.clear();
          this.orderList.addAll(orderList);
          notifyDataSetChanged();
      }
  
      @Override
      public int getItemCount() {
          return orderList.size();
      }
  
      public static class ViewHolder extends RecyclerView.ViewHolder {
  
          public ViewHolder(View itemView) {
              super(itemView);
  
          }
      }
  }
  </code></pre>
  
  <p>RecycleView Item some colorful layouts insider, so i know if the child layout is there or not, which it isnt. any idea why recyclerview is empty?</p>
  
  <p>edit1: i know the recyclerview is there, because its in a lolipop phone, and if i make a movement at the recycler place it shows me the ripple top and bottom scroll border. but the child layouts are empty and blank, and should be colorful as i specificed in the child layout.</p>
  
  <p>eit2. just used a listview with a simpleAdapter and it is showing. there must be something buggy with the rv</p>
  
  <p>edit3: row layout (i should clearly see an empty textview with a color, besides not any value setted.)</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_height="match_parent"
      android:layout_width="match_parent"
      android:background="@color/black"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@color/material_deep_teal_200"
          android:text="New Text"
          android:id="@+id/textView" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>