add If
open fun addIf(condition: Boolean, @NonNull() controller: EpoxyController)
Content copied to clipboard
Add this model to the given controller if the condition is true. Can only be called from inside buildModels.
open fun addIf(@NonNull() predicate: EpoxyModel.AddPredicate, @NonNull() controller: EpoxyController)
Content copied to clipboard
Add this model to the given controller if the AddPredicate return true. Can only becalled from inside buildModels.