title: GridView goes blank after notifyDataSetChanged()
body: <p>I set a refresh button to update my gridview.
  Fragment will get <strong>newData</strong> and set photos from <strong>Fragment-&gt;RecyclerView-&gt;GridView.</strong></p>
  <pre class="lang-java prettyprint-override"><code>public boolean onOptionsItemSelected(MenuItem item) {
          switch (item.getItemId()) {
              case R.id.refresh:
                  Log.v(Parameters.TAG,&quot;refresh..&quot;);
                  //Get new list
                  setPhotos(newData)
                  break;
          }
          return true;
      }
  </code></pre>
  <p>When RecyclerViewAdapter called notifyDataSetChanged()</p>
  <pre class="lang-java prettyprint-override"><code>private List albumPhotoItem = new ArrayList&lt;&gt;();
  @Override
  protected void onBindItemViewHolder(AlbumViewItemHolder holder, int section, int position) 
  {
      
       String title = mTitle[section].toString();
       albumPhotoItem.addAll(newData.get(title));
       Log.v(Parameters.TAG,&quot;albumPhotoItem photos hash code&quot;+System.identityHashCode(albumPhotoItem));
         
       holder.setData(albumPhotoItem,title);
  
      }
  </code></pre>
  <p>In GridView:</p>
  <pre class="lang-java prettyprint-override"><code>mGridView =  (GridView) itemView.findViewById(R.id.gv_album);
  mAdapter = new MyAdapter();
  mGridView.setAdapter(mAdapter);
  public void setData(List photos,int colCount){
  
      mGridView.setNumColumns(colCount);
      mAdapter.setPhotos(photos,colCount);
  }
  </code></pre>
  <p>GridViewAdapter code:</p>
  <pre class="lang-java prettyprint-override"><code>
  class MyAdapter extends BaseAdapter
      {
  
          List&lt;Map.Entry&lt;String,List&lt;AlbumPhotoItem&gt;&gt;&gt; photos;
          private int colCount;
          public void setPhotos(List&lt;Map.Entry&lt;String,List&lt;AlbumPhotoItem&gt;&gt;&gt; photos,int colCount,int tag)
          {
              this.colCount = colCount;
              this.photos = photos;
              notifyDataSetChanged();
              Log.v(Parameters.TAG,&quot;adapter photos hashcode:&quot;+System.identityHashCode(this.photos));
              Log.v(Parameters.TAG,&quot;origin photos hashcode:&quot;+System.identityHashCode(photos));
              Log.v(Parameters.TAG,&quot;adapter hashcode:&quot;+System.identityHashCode(this));
              
              Log.v(Parameters.TAG,&quot;photos hashcode:&quot;+photos);
          }
          @Override
          public int getCount() {
              return Format.isEmpty(photos) ? 0 : photos.size();
          }
          ...
  }
  
  .setPhotos(photos,colCount,tag);
  </code></pre>
  <p>Then I got log:</p>
  <pre><code>photo size:3
  adapter photos hashcode:188616529
  origin photos hashcode:188616529
  adapter hashcode:147396791 
  gridview hashcode129071140
  ******hashcode after refresh******
  photo size:6
  adapter photos hashcode:188616529
  origin photos hashcode:188616529
  adapter hashcode:147396791
  gridview hashcode:129071140
  </code></pre>
  <p>When I press the button,the gridview goes blank.</p>
  <p>I use the same list,and it doesn't work.</p>
  <p>I have been tormented by this question for a long time ╥﹏╥.</p>
  <p>Please help me...</p>