You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I make the footerView as a loadmore view , When I set the footerView visable or gone ,the GridView cann`t adjust its height to match the screen .here is the code:
mGridView = (GridViewWithHeaderAndFooter)inflater.inflate(R.layout.fragment_category_detail, container, false);
mFooterView = new LoadMoreFooterView(mContext);
mGridView.addFooterView(mFooterView);
mGridView.setOnScrollListener(mFooterView);
`mFooterView.setOnLoadMoreListener(this);`
@Override
public void onLoadMore() {
mFooterView.setStatus(LoadMoreFooterView.Status.LOADING);
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
mFooterView.setStatus(LoadMoreFooterView.Status.GONE);
}
},3500);
}
The text was updated successfully, but these errors were encountered:
I make the footerView as a loadmore view , When I set the footerView visable or gone ,the GridView cann`t adjust its height to match the screen .here is the code:
The text was updated successfully, but these errors were encountered: