My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
DynamicObject  
Dynamic Object is an untyped Observable (introduced in 0.2)
Updated Mar 31, 2011 by gueei....@gmail.com

Dynamic Object is an Observable that contains other Observable objects. 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:

    { 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})

which the above two versions are yielding the same outcome.


Sign in to add a comment
Powered by Google Project Hosting