refactor: 将ContactsUtil更改为单例类
将ContactsUtil更改为单例类
This commit is contained in:
parent
d4061748cb
commit
fba406fbc5
@ -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() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user