Package 

Class AsyncEpoxyController

  • All Implemented Interfaces:
    com.airbnb.epoxy.ModelCollector , com.airbnb.epoxy.stickyheader.StickyHeaderCallbacks

    
    public abstract class AsyncEpoxyController
    extends EpoxyController
                        

    A subclass of EpoxyController that makes it easy to do model building and diffing in the background.

    See https://github.com/airbnb/epoxy/wiki/Epoxy-Controller#asynchronous-support

    • Constructor Summary

      Constructors 
      Constructor Description
      AsyncEpoxyController() A new instance that does model building and diffing asynchronously.
      AsyncEpoxyController(boolean enableAsync)
      AsyncEpoxyController(boolean enableAsyncModelBuilding, boolean enableAsyncDiffing) Individually control whether model building and diffing are done async or on the main thread.
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.airbnb.epoxy.EpoxyController

        add, addInterceptor, addModelBuildListener, cancelPendingModelBuild, getAdapter, getSpanCount, getSpanSizeLookup, hasPendingModelBuild, isDebugLoggingEnabled, isDuplicateFilteringEnabled, isMultiSpan, isStickyHeader, moveModel, notifyModelChanged, onRestoreInstanceState, onSaveInstanceState, removeInterceptor, removeModelBuildListener, requestDelayedModelBuild, requestModelBuild, setDebugLoggingEnabled, setFilterDuplicates, setGlobalDebugLoggingEnabled, setGlobalDuplicateFilteringDefault, setGlobalExceptionHandler, setSpanCount, setupStickyHeaderView, teardownStickyHeaderView
      • Methods inherited from class com.airbnb.epoxy.ModelCollector

        add
      • Methods inherited from class com.airbnb.epoxy.stickyheader.StickyHeaderCallbacks

        isStickyHeader, setupStickyHeaderView, teardownStickyHeaderView
      • Methods inherited from class java.lang.Object

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

      • AsyncEpoxyController

        AsyncEpoxyController()
        A new instance that does model building and diffing asynchronously.
      • AsyncEpoxyController

        AsyncEpoxyController(boolean enableAsync)
        Parameters:
        enableAsync - True to do model building and diffing asynchronously, false to do themboth on the main thread.
      • AsyncEpoxyController

        AsyncEpoxyController(boolean enableAsyncModelBuilding, boolean enableAsyncDiffing)
        Individually control whether model building and diffing are done async or on the main thread.