Closed Tipsyume closed 6 years ago
GridView已经可以滚动不需要在外面嵌套 Scrollview。可以把Scrollview去掉试试看
具体是这样的,一个页面除了gridview还有一些头部布局的,目前这个gridview不能addheader,嵌套在Scrollview里了!
StickyGridHeadersGridView is scrollable by itself. You should never put one scrollable view inso another.
@Tipsyume hi, how do you solve the problem? can y help me?
I try the code : overriide onMeasure(){super.onMeasure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST));} but find big empty view in the scrollview's bottom.
why StickyGridHeadersGridView display incomplete