Package ai.nexconn.chatui.base
Class BaseViewModel.SafeDataHandler
-
- All Implemented Interfaces:
-
ai.nexconn.chatui.base.interfaces.OnDataChangeListener
protected abstract class BaseViewModel.SafeDataHandler<T> implements OnDataChangeListener<T>
Safe data handler that processes data changes and errors.
-
-
Constructor Summary
Constructors Constructor Description BaseViewModel.SafeDataHandler()
-
Method Summary
Modifier and Type Method Description voidonDataError(NCErrorĀ error)Called when an error occurs. -
-
Method Detail
-
onDataError
void onDataError(NCErrorĀ error)
Called when an error occurs.
- Parameters:
error- the error
-
-
-
-