Android代码-android-swipelistview

  • y2_462725
    了解作者
  • 23.5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-13 08:12
    上传日期
SwipeListView (Play Store Demo) An Android List View implementation with support for drawable cells and many other swipe related features. Introduction Download Maven Dependency APKLib and others Dependencies Demo XML Usage License Click to watch video Introduction SwipeListView was born out of the need to add swipe gestures to ListView on Android for @ 47 Degrees Clients. Contributions and constructive feedback are welcome. Download Maven Dependency SwipeListView may be automatically im
Android代码-android-swipelistview.zip
内容介绍
SwipeListView ([Play Store Demo][1]) ============= An Android List View implementation with support for drawable cells and many other swipe related features. - [Introduction](#introduction) - [Download](#download) - [Maven Dependency](#maven-dependency) - [APKLib and others](#apklib-and-others) - [Dependencies](#dependencies) - [Demo](#demo) - [XML Usage](#xml-usage) - [License](#license) Click to watch video [![SwipeListView screenshot][6]][7] # Introduction SwipeListView was born out of the need to add swipe gestures to ListView on Android for @ [47 Degrees][4] Clients. Contributions and constructive feedback are welcome. # Download ## Maven Dependency SwipeListView may be automatically imported into your project if you already use [Maven](http://maven.apache.org/). Just declare android-swipelistview as a maven dependency. If you wish to always use the latest unstable snapshots, add the Sonatype repository where the SwipeListView snapshot artifacts are being deployed. SwipeListView official releases will be made available at Maven Central. ```xml <repository> <id>sonatype</id> <url>https://oss.sonatype.org/content/groups/public/</url> <releases> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <checksumPolicy>fail</checksumPolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> <checksumPolicy>ignore</checksumPolicy> </snapshots> </repository> <dependency> <groupId>com.fortysevendeg.android</groupId> <artifactId rel='nofollow' onclick='return false;'>swipelistview</artifactId> <version>1.0-SNAPSHOT</version> <type>apklib</type> </dependency> ``` ## APKLib and others You can get the releases, snapshots and other forms in which SwipeListView is distributed from the [Downloads][5] page. ## Dependencies SwipeListView depends on the following libraries. - com.nineoldandroids SwipeListView expects that you include one of the Google Android [compatibility libraries][3] in order to use Loaders in versions that do not support them natively. Depending on your requirements you may choose to include one of the following... - com.google.android : - support-v4 (Available in Maven Central) # Demo You can see a demo SwipeListView in action at [android-swipelistview-sample][2] or install it from [Google Play][1] # XML Usage If you decide to use SwipeListView as a view, you can define it in your xml layout like this: ```xml <com.fortysevendeg.android.swipelistview.SwipeListView xmlns:swipe="http://schemas.android.com/apk/res-auto" android:id="@+id/example_lv_list" android:listSelector="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" swipe:swipeFrontView="@+id/front" swipe:swipeBackView="@+id/back" swipe:swipeActionLeft="[reveal | dismiss]" swipe:swipeActionRight="[reveal | dismiss]" swipe:swipeMode="[none | both | right | left]" swipe:swipeCloseAllItemsWhenMoveList="[true | false]" swipe:swipeOpenOnLongPress="[true | false]" swipe:swipeAnimationTime="[miliseconds]" swipe:swipeOffsetLeft="[dimension]" swipe:swipeOffsetRight="[dimension]" /> ``` * `swipeFrontView` - **Required** - front view id. * `swipeBackView` - **Required** - back view id. * `swipeActionLeft` - Optional - left swipe action Default: 'reveal' * `swipeActionRight` - Optional - right swipe action Default: 'reveal' * `swipeMode` - Gestures to enable or 'none'. Default: 'both' * `swipeCloseAllItemsWhenMoveList` - Close revealed items on list motion. Default: 'true' * `swipeOpenOnLongPress` - Reveal on long press Default: 'true' * `swipeAnimationTime` - item drop animation time. Default: android configuration * `swipeOffsetLeft` - left offset * `swipeOffsetRight` - right offset # License Copyright (C) 2012 47 Degrees, LLC http://47deg.com hello@47deg.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. [1]: https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview [2]: https://github.com/47deg/android-swipelistview-sample [3]: http://developer.android.com/intl/es/tools/extras/support-library.html [4]: http://47deg.com [5]: https://github.com/47deg/android-swipelistview/downloads [6]: https://raw.github.com/47deg/android-swipelistview-sample/master/screenshot_swipelistview_small.png [7]: https://www.youtube.com/watch?v=E0352OH488M
评论
    相关推荐
    • [DBA] 怎样成为明星 DBA (英文版)
      [Apress] DBA Survivor Become a Rock Star DBA (E-Book) ☆ 图书概要:☆ DBA Survivor is a book to help new database administrators understand more about the world of database administration. More and ...
    • Htalk
      hTaLk is a client server chat application where many clients connect to the person running the server, the Host. The true power of the program lies in the ability to interact with other users‘ ...
    • WordPress广告插件Max Banner Ads
      前面也介绍过几款广告插件,对于想要用博客赚钱的朋友来说,那些插件都是很实用的,今天有发现了一款不错的WordPress广告插件Max Banner Ads,一般情况下,如果要在WordPress博客上添加广告的话,这时,需要我们自己...
    • IDERA_DBArtisan_17.0.2_x64_Downloadly.ir.rar
      IDERA_DBArtisan_17.0.2_x64_Downloadly.ir.rar
    • k2hdkc_dbaas_override_conf:K2HDKC DBaaS覆盖配置
      k2hdkc_dbaas_override_conf:K2HDKC DBaaS覆盖配置
    • TR-069.rar
      tr069协议,pdf的 英文版的 ,免费要的,请留言,我们资料互换就可以, Notice The Broadband Forum is a non-profit corporation organized to create guidelines for broadband network system development and ...
    • db2 advance dba
      Although this book was written as a study guide for the new Advanced DBA certification (DB2 Exam number 704), it can also be used as a reference by DBAs as they perform their day-to-day activities.
    • sybex OCP Oracle9i DBA FundamentalsII Study Guide
      sybex OCP Oracle9i DBA FundamentalsII Study Guide
    • Oracle 2 Day DBA
      Oracle快速DBA入门文档 Oracle Database 2 Day DBA is a database administration quick start guide that teaches you how to perform day-to-day database administrative tasks. The goal of this guide is to ...