【发布时间】:2014-10-28 05:00:24
【问题描述】:
我之前使用的是 API 19,并且在我的许多片段中都使用了 SwipeRefreshLayout。之前我第一次加载内容时,我使用的是setRefreshing(true);,并且能够加载内容并且效果很好。
我注意到在 Android 5.0 中,Google 正在使用循环进度视图。当我现在打电话给setRefreshing(true); 时,它根本没有效果。无论如何以编程方式显示新的微调器?我已经深入研究了这一点,但无法以编程方式显示它。我已经阅读了以下内容:
http://developer.android.com/tools/support-library/index.html
https://yassirh.com/2014/05/how-to-use-swiperefreshlayout-the-right-way/
SwipeRefreshLayout doesn't show any indicator of refreshing
基本上,它在第一次尝试时没有显示刷新的迹象。
【问题讨论】:
标签: android swiperefreshlayout