IView

interface IView<VM>

视图层定义一些共性需要实现的函数

Author

Jenly

Follow me

Inheritors

Functions

Link copied to clipboard
abstract fun createViewModel(): VM

创建 ViewModel

Link copied to clipboard
abstract fun getLayoutId(): Int

获取根布局ID

Link copied to clipboard
abstract fun initData(savedInstanceState: Bundle?)

初始化数据

Link copied to clipboard
abstract fun isBinding(): Boolean

是否使用 ViewDataBinding