SwipeRefreshLayout以前在v4包里,现在改到了androidx
1、添加SwipeRefreshLayout
1、File -> Project Structure 打开Project Structure界面
2、Dependencies -> app -> +
Android Studio如何导入swiperefreshlayout

相关文章: