lwlizhe

Results 2 issues of lwlizhe

问题日志如图: ![问题](https://user-images.githubusercontent.com/25957598/83487832-5c82ea80-a4de-11ea-881a-b014d46032b3.png)

推荐在mContentView.setLayoutParams(layoutParams)那段前加个判断,判断是不是需要mContentView设置位最小行数的高度,在setContent的时候加个展开图标的隐藏判断,毕竟有时候服务器返回的数据没那么多。 我这现在是这么改了下setContent: mShowMore.setVisibility(getMaxMeasureHeight() =getMinMeasureHeight()){ ViewGroup.LayoutParams layoutParams = mContentView.getLayoutParams(); layoutParams.height = getMinMeasureHeight(); mContentView.setLayoutParams(layoutParams); } 同时去掉了init中的mContentView.setLayoutParams(layoutParams); 不知道有没有更好的方法