Package 

Class GroupModel

  • All Implemented Interfaces:
    com.airbnb.epoxy.ModelCollector

    
    public abstract class GroupModel
    extends EpoxyModelGroup implements ModelCollector
                        

    An EpoxyModelGroup usable in a DSL manner via the group extension.

    <p> Example: ``` group { id("photos") layout(R.layout.photo_grid)

    // add your models here, example: for (photo in photos) { imageView { id(photo.id) url(photo.url) } } }

    • Method Summary

      Modifier and Type Method Description
      Unit add(EpoxyModel<?> model)
      • Methods inherited from class com.airbnb.epoxy.GroupModel

        addModel, bind, bind, bind, createNewHolder, equals, getDefaultLayout, getSpanSize, hashCode, onViewAttachedToWindow, onViewDetachedFromWindow, shouldSaveViewState, shouldSaveViewState, unbind, useViewStubLayoutParams
      • Methods inherited from class com.airbnb.epoxy.EpoxyModelWithHolder

        addIf, addIf, addTo, addWithDebugValidation, buildView, getLayout, getViewType, hasDefaultId, hide, id, id, id, id, id, id, id, isDebugValidationEnabled, isShown, layout, onMutation, preBind, reset, show, show, spanSize, spanSizeOverride, toString, validateStateHasNotChangedSinceAdded
      • Methods inherited from class com.airbnb.epoxy.EpoxyModelGroup

        onFailedToRecycleView, onVisibilityChanged, onVisibilityStateChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait