public class LuckyTurnplateViewModel
extends androidx.lifecycle.ViewModel
限定符和类型 | 字段和说明 |
---|---|
androidx.lifecycle.MutableLiveData<java.lang.Boolean> |
isLoading |
androidx.lifecycle.MutableLiveData<java.lang.Boolean> |
isPlayStatus |
androidx.lifecycle.MutableLiveData<java.lang.Boolean> |
mFirstStar |
androidx.lifecycle.MutableLiveData<java.lang.Boolean> |
mFreeVisiable |
androidx.lifecycle.MutableLiveData<java.lang.String> |
mGoldCoin |
androidx.lifecycle.LiveData<LuckyTurnplateInfo> |
mInfoLiveData |
androidx.lifecycle.LiveData<java.lang.String> |
mLargeBackground |
androidx.lifecycle.LiveData<java.lang.String> |
mMiddleBackground |
com.app.network.NetworkLiveData<com.app.network.ResponseContext> |
mNetworkInfoLiveData |
com.app.network.NetworkLiveData<com.app.network.ResponseContext> |
mNetworkPlayLiveData |
com.app.network.NetworkLiveData<com.app.network.ResponseContext> |
mNetworkTopLiveData |
androidx.lifecycle.LiveData<LuckyTurnplateResultInfo> |
mPlayLiveData |
androidx.lifecycle.LiveData<java.util.Map<java.lang.String,java.lang.String>> |
mPriceMap |
androidx.lifecycle.LiveData<java.lang.String> |
mSendImageUrl |
androidx.lifecycle.LiveData<java.util.List<LuckyTurnplateTopInfo>> |
mTopLists |
androidx.lifecycle.LiveData<java.util.List<LuckyTurnplateTopInfo>> |
mTopListsLiveData |
androidx.lifecycle.LiveData<java.lang.String> |
mTurnplatePointer |
androidx.lifecycle.LiveData<java.util.List<LuckyTurnplateGiftInfo>> |
mWheelInfos |
构造器和说明 |
---|
LuckyTurnplateViewModel() |
限定符和类型 | 方法和说明 |
---|---|
void |
requestTurnplateInfo(java.lang.String rid,
java.lang.String plateId) |
void |
requestTurnplatePlay(java.lang.String rid,
java.lang.String resourceId,
java.lang.String num,
java.lang.String plateId) |
void |
requestTurnplateTopList(java.lang.String rid,
java.lang.String plateId) |
public com.app.network.NetworkLiveData<com.app.network.ResponseContext> mNetworkInfoLiveData
public com.app.network.NetworkLiveData<com.app.network.ResponseContext> mNetworkTopLiveData
public com.app.network.NetworkLiveData<com.app.network.ResponseContext> mNetworkPlayLiveData
public androidx.lifecycle.LiveData<LuckyTurnplateInfo> mInfoLiveData
public androidx.lifecycle.LiveData<java.util.List<LuckyTurnplateTopInfo>> mTopListsLiveData
public androidx.lifecycle.LiveData<LuckyTurnplateResultInfo> mPlayLiveData
public androidx.lifecycle.LiveData<java.util.List<LuckyTurnplateTopInfo>> mTopLists
public androidx.lifecycle.LiveData<java.util.List<LuckyTurnplateGiftInfo>> mWheelInfos
public androidx.lifecycle.LiveData<java.lang.String> mLargeBackground
public androidx.lifecycle.LiveData<java.lang.String> mTurnplatePointer
public androidx.lifecycle.LiveData<java.lang.String> mMiddleBackground
public androidx.lifecycle.LiveData<java.lang.String> mSendImageUrl
public androidx.lifecycle.LiveData<java.util.Map<java.lang.String,java.lang.String>> mPriceMap
public androidx.lifecycle.MutableLiveData<java.lang.String> mGoldCoin
public androidx.lifecycle.MutableLiveData<java.lang.Boolean> mFreeVisiable
public androidx.lifecycle.MutableLiveData<java.lang.Boolean> mFirstStar
public androidx.lifecycle.MutableLiveData<java.lang.Boolean> isPlayStatus
public androidx.lifecycle.MutableLiveData<java.lang.Boolean> isLoading
public void requestTurnplateInfo(java.lang.String rid, java.lang.String plateId)
public void requestTurnplateTopList(java.lang.String rid, java.lang.String plateId)
public void requestTurnplatePlay(java.lang.String rid, java.lang.String resourceId, java.lang.String num, java.lang.String plateId)