Package-level declarations

Types

Link copied to clipboard
abstract class BaseActivity<VM : BaseViewModel, VDB : ViewDataBinding> : AppCompatActivity, IView<VM>

MVVMFrame 框架基于 Google 官方的 JetPack 构建,在使用 MVVMFrame 时,需遵循一些规范:

Link copied to clipboard
open class BaseAndroidViewModel @Inject constructor(application: Application) : BaseViewModel

MVVMFrame 框架基于 Google 官方的 JetPack 构建,在使用 MVVMFrame 时,需遵循一些规范:

Link copied to clipboard

MVVMFrame 框架基于 Google 官方的 JetPack 构建,在使用 MVVMFrame 时,需遵循一些规范:

Link copied to clipboard
abstract class BaseDialogFragment<VM : BaseViewModel, VDB : ViewDataBinding> : DialogFragment, IView<VM>

MVVMFrame 框架基于 Google 官方的 JetPack 构建,在使用 MVVMFrame 时,需遵循一些规范:

Link copied to clipboard
abstract class BaseFragment<VM : BaseViewModel, VDB : ViewDataBinding> : Fragment, IView<VM>

MVVMFrame 框架基于 Google 官方的 JetPack 构建,在使用 MVVMFrame 时,需遵循一些规范:

Link copied to clipboard

对话框基类

Link copied to clipboard
open class BaseViewModel @Inject constructor : ViewModel

MVVMFrame 框架基于 Google 官方的 JetPack 构建,在使用 MVVMFrame 时,需遵循一些规范:

Link copied to clipboard
abstract class ContentActivity : BaseActivity<BaseViewModel, ViewDataBinding>

用于容纳 Fragment 的通用 Activity,相当于一个 Fragment 容器,通过 Intent 传递参数和标识, 然后实现 switchFragment 函数来处理对应的逻辑

Link copied to clipboard
interface IView<VM>

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