Class KriptonLiveData<T>

java.lang.Object
android.arch.lifecycle.LiveData<T>
android.arch.lifecycle.MutableLiveData<T>
com.abubusoft.kripton.android.livedata.KriptonLiveData<T>
Type Parameters:
T - the generic type
Direct Known Subclasses:
PagedLiveData

public class KriptonLiveData<T>
extends android.arch.lifecycle.MutableLiveData<T>
The Class KriptonLiveData.
Author:
Francesco Benincasa (info@abubusoft.com)
  • Constructor Summary

    Constructors 
    Constructor Description
    KriptonLiveData()  
  • Method Summary

    Modifier and Type Method Description
    void updateValue​(T value)
    Update value.

    Methods inherited from class android.arch.lifecycle.MutableLiveData

    postValue, setValue

    Methods inherited from class android.arch.lifecycle.LiveData

    getValue, hasActiveObservers, hasObservers, observe, observeForever, onActive, onInactive, removeObserver, removeObservers

    Methods inherited from class java.lang.Object

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

  • Method Details

    • updateValue

      public void updateValue​(T value)
      Update value.
      Parameters:
      value - the value