引入VIewModel 减轻对P对V的操作 protected fun vmProviders(modelClass: Class): T { val viewModel: BaseViewModel if (mContext is FragmentActivity || mContext is Fragment) { viewModel = if (mContext is BaseActivity) { ViewModelProviders.of(mConte