package com.remax.visualnovel.app.viewmodel

import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.LifecycleOwner
import com.google.gson.Gson
import com.remax.visualnovel.utils.TimeUtils

/*import com.netease.nimlib.sdk.NIMClient
import com.netease.nimlib.sdk.Observer
import com.netease.nimlib.sdk.StatusCode
import com.netease.nimlib.sdk.msg.MsgServiceObserve
import com.netease.nimlib.sdk.msg.constant.MsgTypeEnum
import com.netease.nimlib.sdk.msg.model.IMMessage*/
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableSharedFlow
import timber.log.Timber
import javax.inject.Inject
import kotlin.math.abs

/**
 * Created by HJW on 2022/10/18
 * [Application]生命周期内的[AndroidViewModel]
 */
@HiltViewModel
class AppIMViewModel @Inject constructor(application: Application) : AndroidViewModel(application),
    DefaultLifecycleObserver {
}



