android:persistentDrawingCache用法说明
来源:互联网 发布:淘宝客服外包 编辑:程序博客网 时间:2024/06/06 01:17
android:persistentDrawingCache (Google官方译文)
Defines the persistence of the drawing cache. The drawing cache might be enabled by a ViewGroup for all its children in specific situations (for instance during a scrolling.) This property lets you persist the cache in memory after its initial usage. Persisting the cache consumes more memory but may prevent frequent garbage collection is the cache is created over and over again. By default the persistence is set to scrolling.
定义绘图的高速缓存的持久性。 绘图缓存可能由一个ViewGroup 在特定情况下为其所有的子类启用,例如在一个滚动的过程中。 此属性可以在初次使用后保留在其在内存中的缓存。 坚持缓存会消耗更多的内存,但可能会阻止频繁的垃圾回收是反复创建缓存。 默认情况下持续存在设置为滚动。
Must be one or more (separated by '|') of the following constant values.
Xml文件中可以使用一下的值:
none
0x0The drawing cache is not persisted after use.animation
0x1The drawing cache is persisted after a layout animation.scrolling
0x2The drawing cache is persisted after a scroll.all
0x3The drawing cache is always persisted. - android:persistentDrawingCache用法说明
- Android Android:persistentDrawingCache
- android:persistentDrawingCache 的含义
- android:persistentDrawingCache="animation"
- android:persistentDrawingCache="animation"
- Android:persistentDrawingCache解释
- android:persistentDrawingCache含义
- android:persistentDrawingCache含义
- persistentDrawingCache
- Android-android:persistentDrawingCache图片缓存
- Android persistentDrawingCache 绘图缓存 使用
- Android android:persistentDrawingCache的几个默认属性值介绍
- android descendantFocusability用法说明
- Android Fragment用法实例说明
- ViewPager中属性android:flipInterval="30" android:persistentDrawingCache="animation"
- Android中Inflate()常见用法说明
- android 选择器selector的用法说明
- android背景选择器selector用法与说明
- JGroups 3.x 说明
- 《操作系统》——处理器管理
- Java实用经验总结--Swing篇
- 判断那台服务器访问----抓包问题
- java.beans 分析
- android:persistentDrawingCache用法说明
- PATCH Method of HTTP
- 关于我对ABA问题的理解
- [省选前题目整理][BZOJ 1038][ZJOI 2008]瞭望塔(半平面交)
- C#拾遗之结构和类
- python uiautomator 源码学习(三) josonRPCServer-DUT Side
- C# WinForm(窗体) 之间传值
- 蓝桥杯--dyx--李白打酒--dfs
- 系统总线