摘要: http://www.codeproject.com/Articles/166952/MVVM-in-Android 原文地址。 阅读全文
posted @ 2013-09-04 18:23 pinotao 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Custom View classAll custom view requires to implement the IBindableView interface and implement the function:public ViewAttribute getViewAttribute(String attributeName) 注:最新API 是 /** * Each View Attribute should be created once only. * The Custom View is suppose to create and return the desig... 阅读全文
posted @ 2013-09-04 11:25 pinotao 阅读(166) 评论(0) 推荐(0) 编辑
摘要: AB 支持绑定 Collectionpublic class ArrayListObservable extends ObservableCollection implements Collection示例:The constructor is pretty much similar to simple observable properties, notice you must pass the class of the generic type to it (just like observables).public ArrayListObservable NameOfList = ... 阅读全文
posted @ 2013-09-04 11:05 pinotao 阅读(154) 评论(0) 推荐(0) 编辑