Class BaseViewModel

  • All Implemented Interfaces:

    
    public class BaseViewModel
    
                        

    Base ViewModel providing error event LiveData.

    Since:

    5.10.4

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseViewModel(Bundle bundle)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      MutableLiveData<ErrorEvent<NCError>> getErrorEventLiveData() Returns the error event LiveData for observing error states.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseViewModel

        BaseViewModel(Bundle bundle)
    • Method Detail

      • getErrorEventLiveData

         MutableLiveData<ErrorEvent<NCError>> getErrorEventLiveData()

        Returns the error event LiveData for observing error states.

        Returns:

        MutableLiveData