refactor: 将ContactsUtil更改为单例类

将ContactsUtil更改为单例类
This commit is contained in:
糕小菜 2024-10-29 12:53:10 +08:00
parent d4061748cb
commit fba406fbc5
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import androidx.recyclerview.widget.LinearLayoutManager
import com.kaixed.kchat.databinding.ActivityMessageBinding
import com.kaixed.kchat.model.friend.FriendRequestItem
import com.kaixed.kchat.ui.adapter.MessageListAdapter
import com.kaixed.kchat.utils.ConstantsUtil.Companion.getUsername
import com.kaixed.kchat.utils.ConstantsUtil.getUsername
import com.kaixed.kchat.viewmodel.ContactViewModel
class MessageActivity : AppCompatActivity() {

View File

@ -20,7 +20,7 @@ import com.kaixed.kchat.databinding.ChatRecycleItemRedPacketBinding
import com.kaixed.kchat.databinding.ChatRecycleItemTipBinding
import com.kaixed.kchat.databinding.ChatRecycleItemVoiceBinding
import com.kaixed.kchat.databinding.PopwindowsBinding
import com.kaixed.kchat.utils.ConstantsUtil.Companion.getUsername
import com.kaixed.kchat.utils.ConstantsUtil.getUsername
import com.kaixed.kchat.utils.DensityUtil
import com.kaixed.kchat.utils.ImageSpanUtil
import com.kaixed.kchat.utils.MessageType