</pre>1.pulltorefresh</h2><div><pre code_snippet_id="500486" snippet_file_name="blog_20141029_1_8078916" name="code" class="plain"><span style="font-size:18px;">compile 'com.github.chrisbanes.pulltorefresh:library:2.1.1'
compile 'com.github.chrisbanes.pulltorefresh:extra-viewpager:2.1.1'
compile 'com.github.chrisbanes.pulltorefresh:extra-listfragment:2.1.1'</span>
如果有问题直接down源码引入
</pre>1.pulltorefresh</h2><div><pre code_snippet_id="500486" snippet_file_name="blog_20141029_1_8078916" name="code" class="plain"><span style="font-size:18px;">compile 'com.github.chrisbanes.pulltorefresh:library:2.1.1'
compile 'com.github.chrisbanes.pulltorefresh:extra-viewpager:2.1.1'
compile 'com.github.chrisbanes.pulltorefresh:extra-listfragment:2.1.1'</span>
2.androidannotation
<pre name="code" class="plain"><span style="font-size:18px;">apply plugin: 'com.android.application'
apply plugin: 'android-apt'
dependencies{
compile 'com.googlecode.androidannotations:androidannotations-api:2.7.1'
apt 'com.googlecode.androidannotations:androidannotations:2.7.1'
}
apt {
arguments {
androidManifestFile variant.processResources.manifestFile
resourcePackageName 'com.xgimi.yunphotos'
}
}
super gradle
dependencies{
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.3'
}</span>
3.listviewanimations
需要nineoldandroids
<span style="font-weight: normal;"> compile 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar'
compile 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar'
compile 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar'
compile 'com.nineoldandroids:library:2.4.0'</span>
<span style="font-weight: normal;"> compile 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar'
compile 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar'
compile 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar'
compile 'com.nineoldandroids:library:2.4.0'</span>