Package io.rong.imkit.base
Class BaseViewModel.SafeDataHandler
-
- All Implemented Interfaces:
-
io.rong.imkit.usermanage.interfaces.OnDataChangeListener
protected abstract class BaseViewModel.SafeDataHandler<T> implements OnDataChangeListener<T>
安全的数据处理器,处理数据变化和错误
-
-
Constructor Summary
Constructors Constructor Description BaseViewModel.SafeDataHandler()
-
Method Summary
Modifier and Type Method Description voidonDataError(IRongCoreEnum.CoreErrorCode coreErrorCode, String errorMsg)回调执行错误 -
-
Method Detail
-
onDataError
void onDataError(IRongCoreEnum.CoreErrorCode coreErrorCode, String errorMsg)
回调执行错误
- Parameters:
coreErrorCode- 错误errorMsg- 错误信息
-
-
-
-