public class GoldCardViewModel
extends androidx.lifecycle.ViewModel
限定符和类型 | 字段和说明 |
---|---|
com.app.network.NetworkLiveData<com.app.network.ResponseContext> |
cardStatusLiveData |
com.app.network.NetworkLiveData<com.app.network.ResponseContext> |
receiveCardLiveData |
构造器和说明 |
---|
GoldCardViewModel() |
限定符和类型 | 方法和说明 |
---|---|
void |
getCardStatus()
获取金币冻结卡状态
|
void |
receiveCard()
领取金币冻结卡
|