| Interface | Description |
|---|---|
| Controller |
Created by Jason on 2015/5/29.
|
| FactoryViewModel |
与ViewHolder紧密结合的ViewModel,适用于ViewModelFactory
Created by nius on 7/17/15.
|
| Restorable |
子类可以在Activity销毁后后重建,可以看RegisterModel写的例子
Created by nius on 9/14/15.
|
| ViewModel |
| Class | Description |
|---|---|
| FactoryViewModel.Factory | |
| GeneralController<T extends FactoryViewModel> |
Created by nius on 7/20/15.
|
| GeneralViewModel |
兼具ViewModel和ViewHolder功能
需要一个无参构造方法
Created by nius on 7/17/15.
|
| NoopController<T extends FactoryViewModel> |
Do nothing.
|
| Pan<S extends FactoryViewModel> |
工厂类,用于实例化ViewModel
同时,如果该ViewModel已经通过Tag绑定到View上了,就使用之前绑定过的
Pan - 纪念我们的设计师
|
| PanActivity |
用于监控生命周期
以及用于调用对应的controller
Created by nius on 7/22/15.
|
| PanAppCompatActivity |
support for AppCompatActivity
Created by nius on 10/27/15.
|
| PanFragment |
Created by nius on 7/22/15.
|
| PanFragmentActivity | Deprecated
不再支持support v4
|
| RecyclerViewModel |
For RecyclerView
Created by nius on 10/29/15.
|