引用了github上的Android-PullToRefresh,
在libs里加入了library.jar,在activity_main.xml里加了如下代码:
运行报错:
Binary XML file line #7: Error inflating class com.handmark.pulltorefresh.library.PullToRefreshListView
在libs里加入了library.jar,在activity_main.xml里加了如下代码:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="${relativePackage}.${activityClass}" >
<com.handmark.pulltorefresh.library.PullToRefreshListView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</RelativeLayout>
运行报错:
Binary XML file line #7: Error inflating class com.handmark.pulltorefresh.library.PullToRefreshListView