From e7a6728aea008cab5befa5980382370c32974ce5 Mon Sep 17 00:00:00 2001 From: 张钢 <floatgang@163.com> Date: 星期三, 11 九月 2024 14:51:07 +0800 Subject: [PATCH] 修改了百年心愿模块的排版和显示不正确的问题 --- app_base/src/main/java/com/android/app_base/base/viewmodel/BaseViewModel.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app_base/src/main/java/com/android/app_base/base/viewmodel/BaseViewModel.java b/app_base/src/main/java/com/android/app_base/base/viewmodel/BaseViewModel.java index 0acb457..5e94951 100644 --- a/app_base/src/main/java/com/android/app_base/base/viewmodel/BaseViewModel.java +++ b/app_base/src/main/java/com/android/app_base/base/viewmodel/BaseViewModel.java @@ -1,6 +1,7 @@ package com.android.app_base.base.viewmodel; import android.app.Application; +import android.os.Bundle; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; @@ -11,9 +12,6 @@ import com.android.app_base.base.StateViewEnum; import com.android.app_base.base.model.BaseModel; - - -import org.reactivestreams.Subscriber; import io.reactivex.disposables.CompositeDisposable; import io.reactivex.disposables.Disposable; @@ -126,4 +124,7 @@ public void onDestroy(@NonNull LifecycleOwner owner) { DefaultLifecycleObserver.super.onDestroy(owner); } + + protected void onCreate(Bundle savedInstanceState) { + } } -- Gitblit v1.9.1