Android SwipereFreshLayout下拉刷新
我们都知道现在android5.0以后就提倡使用Material Design设计了。在Material Design设计就有一个非常好的设计SwipereFreshLayout,下面我们就来看看它的使用。既然它来源于Material Design,我们第一步就应该是添加它的库。
1、我们就在build.gradle添加库:
compile 'com.android.support:support-v4:22.1.1'
2、然后我们就直接在res/layouts/activity_main.xml布局里面使用:
<andr