title: Using RecyclerView with StaggeredGridLayoutManager not showing anything
body: <p>I'm trying out RecyclerViews to build out something like Pinterest staggered layout. However, while LinearLayoutMnager and GridLayoutManager both work well in the same code, replacing that with StaggeredGridLayoutManager doesn't show any items. Putting breakpoints in the code shows that it gets the item count and items, but rendered nothing. Any idea on what I am missing?</p>
  
  <pre><code>final RecyclerView rView = (RecyclerView) findViewById(R.id.app_list);
  rView.setClickable(true);
  rView.setHasFixedSize(true);
  rView.setLayoutManager(new StaggeredGridLayoutManager(5, StaggeredGridLayoutManager.HORIZONTAL));
  rView.setAdapter(new ItemListAdapter(this, getItems()));
  </code></pre>
  
  <p>Replacing the StaggeredGridLayoutManager with just the GridLayoutManger everything works.</p>
  
  <pre><code>rView.setLayoutManager(new GridLayoutManager(this, 5));
  </code></pre>
  
  <p>The following is the adapter:</p>
  
  <pre><code>private static class ItemListAdapter extends RecyclerView.Adapter&lt;ItemViewHolder&gt; {
      private final LayoutInflater mInflater;
      private final ArrayList&lt;ItemDetail&gt; mList;
  
      public ItemListAdapter(Context context, ArrayList&lt;ItemDetail&gt; list) {
          mInflater = LayoutInflater.from(context);
          mList = list;
      }
  
      @Override
      public ItemViewHolder onCreateViewHolder(ViewGroup parent, int position) {
          final View view = mInflater.inflate(R.layout.item_blob, parent, false);
          return new ItemViewHolder(view);
      }
  
      @Override
      public void onBindViewHolder(ItemViewHolder holder, int position) {
          holder.hive.showDrawable(mList.get(position).icon);
      }
  
      @Override
      public int getItemCount() {
          return mList.size();
      }
  }
  </code></pre>
  
  <p>And the following is the ViewHolder</p>
  
  <pre><code>private static class ItemViewHolder extends RecyclerView.ViewHolder {
      public final HiveView hive;
  
      public ItemViewHolder(View view) {
          super(view);
          this.hive = (HiveView) view;
      }
  }
  </code></pre>
  
  <p>And finally the item layout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;com.bidyut.app.hivelauncher.widget.HiveView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="@dimen/app_blob_size"
      android:layout_height="@dimen/app_blob_size"
      android:background="@android:color/holo_red_light"/&gt;
  </code></pre>