package com.example.base.viewmodel

/**
 * 注解指定viewModel生命周期范围 实现fragment、activity数据共享
 * @see com.example.base.ui.VMFragment
 */
@Target(AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS)
@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
annotation class ViewModelScope(
    val scope: com.example.base.viewmodel.ViewModelScopeType = com.example.base.viewmodel.ViewModelScopeType.DEFAULT
)