Dynamic Object is an untyped Observable. -- 它是一个 非特定类型(无类型)的Observable。
Dynamic Object is an Observable that contains other Observable objects -- 它包含其他 Observable 对象。
It is called Dynamic because it is an object without a fixed type declaration, and it's very similar to Javascript objects. It's notation, is also very close to JSON declaration: -- 它之所以为动态的 源于这个对象 自身没有固定的类型声明。类似 js 对象。他的定义,也很接近json的方式。
{ ATTRIBUTE_NAME1=VALUE1,
ATTRIBUTE_NAME2=VALUE2, ... }
The sequence of attributes is not important. For example, in ADAPTER it accepts dynamic object as parameter: --属性顺序不重要:
例如下面两种 表达式 结果是 相同的。
ADAPTER({template=@layout/list_item, source=Demos})
ADAPTER({source=Demos, template=@layout/list_item})
用于: