2

我想使用开发的listView,

我从这里下载了 swipeList 项目的 jar 文件:

https://github.com/47deg/android-swipelistview/downloads

命名:swipelistview-1.0-SNAPSHOT.jar

我在eclipse中将此jar文件导入我的项目

但是,当我创建 xml 时,例如您网站中的示例:

<com.fortysevendeg.android.swipelistview.SwipeListView
            xmlns:swipe="http://schemas.android.com/apk/res-auto"
            android:id="@+id/android:list"
            android:listSelector="#00000000"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            swipe:swipeFrontView="@+id/relative"
            swipe:swipeBackView="@+id/layoutUpdate"
            swipe:swipeActionLeft="reveal"
            swipe:swipeActionRight="reveal"
            swipe:swipeMode="both"
            swipe:swipeCloseAllItemsWhenMoveList="false"
            swipe:swipeOpenOnLongPress="false"
            swipe:swipeAnimationTime="2"
            swipe:swipeOffsetLeft="5"
            swipe:swipeOffsetRight="5"
            />

我在这一行收到一条错误消息:

错误信息

有人可以告诉我我哪里错了吗?

多谢

4

0 回答 0