Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SwipeRefreshLayout的进度条可以设置在activity的底部吗?
我希望在 listview 或 gridview 结束时显示进度条,然后显示进度条,并加载更多数据,但进度条应位于 listview 或 girdview 的底部。
您必须在活动中膨胀一个页脚视图。
If you getting data from async task in pre execute method add footer view to your list view. in post execute remove the footer. 1)in onPreExecute(): lv.addFooterView(Footer);
2)在 onPostExecute(): lv.removeFooterView(Footer);