ViewPager中属性android:flipInterval="30" android:persistentDrawingCache="animation"
来源:互联网 发布:php sendmail 发邮件 编辑:程序博客网 时间:2024/05/16 16:09
android:flipInterval; flip是替换,翻转;Interval是间隔; 意思就是设置里面每一个View显示的时间;android:persistentDrawingCache; 字面意思就是 持久化绘画缓存;实际就是也是这个意思,下面是别人翻译这局的api定义绘图的高速缓存的持久性。 绘图缓存可能由一个 ViewGroup 在特定情况下为其所有的子类启用,例如在一个滚动的过程中。 此属性可以保留在内存中的缓存后其初始的使用。 坚持缓存会消耗更多的内存,但可能会阻止频繁的垃圾回收是反复创建缓存。 默认情况下持续存在设置为滚动。其属性值只有以下几种:ConstantValueDescriptionnone 0x0 The drawing cache is not persisted after use. animation 0x1 The drawing cache is persisted after a layout animation. scrolling 0x2 The drawing cache is persisted after a scroll. all 0x3 The drawing cache is always persisted.
0 3
- ViewPager中属性android:flipInterval="30" android:persistentDrawingCache="animation"
- android:persistentDrawingCache="animation"
- android:persistentDrawingCache="animation"
- Android Android:persistentDrawingCache
- Android android:persistentDrawingCache的几个默认属性值介绍
- android:persistentDrawingCache 的含义
- Android:persistentDrawingCache解释
- android:persistentDrawingCache含义
- android:persistentDrawingCache用法说明
- android:persistentDrawingCache含义
- Android-android:persistentDrawingCache图片缓存
- Android persistentDrawingCache 绘图缓存 使用
- android中属性动画 property Animation
- Android Animation 属性动画
- Android animation属性动画
- Android中animation方面知识: Android:interpolator 属性
- Android之Animation属性配置文件
- Android Property Animation 属性动画
- leetcode--Happy Number
- Bootstrap 面板
- crypt
- 在CentOS上编译安装FFmpeg(转载)
- 回调函数
- ViewPager中属性android:flipInterval="30" android:persistentDrawingCache="animation"
- Android WebView 禁止缩放(手势、点击)
- storyboard 的一些简单应用
- VLC播放 RTP流的 音频 视频的 sdp描述文件
- 模拟赛4 数字序列 50分做法 状压DP
- Java四种线程池的使用
- Smarty: Unable to load template file 'login.tpl'
- 单例模式
- JavaWeb实现图片异步上传,在前台展示,并以二进制保存到数据库