CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 通讯/手机编程 android开发

文件名称:SlideCutListView

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2014-04-21
  • 文件大小:
    1.78mb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

本款Android源码实现两种功能演示,一是使用Scroller实现漂亮的ListView左右滑动效果,另外是删除Item效果,虽然是一些小技巧,但对于学习android的界面编写挺有帮助。在当前界面滑动的ListView,内部定义了一个滑动类,在这个滑动类中标记出item滑出屏幕的方向,向左或者向右,用一个枚举值来标记,并包括分发事件,主要做的是判断点击的是那个item, 以及通过postDelayed来设置响应左右滑动事件;

  往右滑动,getScrollX()返回的是左边缘的距离,就是以View左边缘为原点到开始滑动的距离,所以向右边滑动为负值,根据手指滚动itemView的距离来判断是滚动到开始位置还是向左或者向右滚动,手指拖动itemView滚动, deltaX大于0向左滚动,小于0向右滚。-This paragraph demonstrates Android source code for two functions, one is to use Scroller sliding around ListView achieve beautiful results, in addition to delete Item effect, although some tips, but for learning to write android interface quite helpful. In the current interface sliding ListView, sliding inside the class definition of a mark in this class, the direction of the item slide slide the screen to the left or to the right, marked with an enumeration value, and include the distribution of events, mainly to do Click the judgment is that item, as well as to set up in response to sliding around events through postDelayed

Right slide, getScrollX () returns the distance from the left edge to the left edge is to the origin of View to the start of sliding distance, so the slide to the right is negative, according to the distance of the finger rolling itemView scroll to determine the start position or scroll left or right, drag your finger itemView rolling, deltaX scroll left is gre
(系统自动生成,下载前可以参看下载内容)

下载文件列表

SlideCutListView/.classpath
SlideCutListView/.project
SlideCutListView/.settings/org.eclipse.jdt.core.prefs
SlideCutListView/AndroidManifest.xml
SlideCutListView/bin/AndroidManifest.xml
SlideCutListView/bin/classes/com/example/slidecutlistview/BuildConfig.class
SlideCutListView/bin/classes/com/example/slidecutlistview/MainActivity$1.class
SlideCutListView/bin/classes/com/example/slidecutlistview/MainActivity.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R$attr.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R$drawable.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R$id.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R$layout.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R$menu.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R$string.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R$style.class
SlideCutListView/bin/classes/com/example/slidecutlistview/R.class
SlideCutListView/bin/classes/com/example/slidecutlistview/SlideCutListView$RemoveDirection.class
SlideCutListView/bin/classes/com/example/slidecutlistview/SlideCutListView$RemoveListener.class
SlideCutListView/bin/classes/com/example/slidecutlistview/SlideCutListView.class
SlideCutListView/bin/classes.dex
SlideCutListView/bin/dexedLibs/android-support-v4-64e40abe7d72907c3b6c986a2e149b16.jar
SlideCutListView/bin/dexedLibs/android-support-v4-697bc69dbef2908df6b6e0f7928330fd.jar
SlideCutListView/bin/dexedLibs/android-support-v4-7aaf9ee3f51761c5835fd47809095b3a.jar
SlideCutListView/bin/dexedLibs/android-support-v4-7b360f1a6a538f2cf0874c33b67823dc.jar
SlideCutListView/bin/dexedLibs/android-support-v4-a18e4f26741405bd3fb9ace528ac486f.jar
SlideCutListView/bin/dexedLibs/android-support-v4-fbfe5839f28e35ae53dd2a813a64f849.jar
SlideCutListView/bin/jarlist.cache
SlideCutListView/bin/MainActivity.apk
SlideCutListView/bin/res/drawable-hdpi/ic_launcher.png
SlideCutListView/bin/res/drawable-hdpi/reader_item_divider.png
SlideCutListView/bin/res/drawable-ldpi/ic_launcher.png
SlideCutListView/bin/res/drawable-mdpi/ic_launcher.png
SlideCutListView/bin/res/drawable-xhdpi/ic_launcher.png
SlideCutListView/bin/resources.ap_
SlideCutListView/bin/SlideCutListView.apk
SlideCutListView/gen/com/example/slidecutlistview/BuildConfig.java
SlideCutListView/gen/com/example/slidecutlistview/R.java
SlideCutListView/ic_launcher-web.png
SlideCutListView/libs/android-support-v4.jar
SlideCutListView/proguard-project.txt
SlideCutListView/project.properties
SlideCutListView/res/drawable-hdpi/friendactivity_comment_detail_list2.9.png
SlideCutListView/res/drawable-hdpi/ic_launcher.png
SlideCutListView/res/drawable-hdpi/reader_item_divider.png
SlideCutListView/res/drawable-ldpi/ic_launcher.png
SlideCutListView/res/drawable-mdpi/ic_launcher.png
SlideCutListView/res/drawable-xhdpi/ic_launcher.png
SlideCutListView/res/layout/activity_main.xml
SlideCutListView/res/layout/listview_item.xml
SlideCutListView/res/menu/activity_main.xml
SlideCutListView/res/values/strings.xml
SlideCutListView/res/values/styles.xml
SlideCutListView/res/values-v11/styles.xml
SlideCutListView/res/values-v14/styles.xml
SlideCutListView/src/com/example/slidecutlistview/MainActivity.java
SlideCutListView/src/com/example/slidecutlistview/SlideCutListView.java
SlideCutListView/bin/classes/com/example/slidecutlistview
SlideCutListView/bin/classes/com/example
SlideCutListView/gen/com/example/slidecutlistview
SlideCutListView/src/com/example/slidecutlistview
SlideCutListView/bin/classes/com
SlideCutListView/bin/res/drawable-hdpi
SlideCutListView/bin/res/drawable-ldpi
SlideCutListView/bin/res/drawable-mdpi
SlideCutListView/bin/res/drawable-xhdpi
SlideCutListView/gen/com/example
SlideCutListView/src/com/example
SlideCutListView/bin/classes
SlideCutListView/bin/dexedLibs
SlideCutListView/bin/res
SlideCutListView/gen/com
SlideCutListView/res/drawable-hdpi
SlideCutListView/res/drawable-ldpi
SlideCutListView/res/drawable-mdpi
SlideCutListView/res/drawable-xhdpi
SlideCutListView/res/layout
SlideCutListView/res/menu
SlideCutListView/res/values
SlideCutListView/res/values-v11
SlideCutListView/res/values-v14
SlideCutListView/src/com
SlideCutListView/.settings
SlideCutListView/assets
SlideCutListView/bin
SlideCutListView/gen
SlideCutListView/libs
SlideCutListView/res
SlideCutListView/src
SlideCutListView

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com