
com.airbnb.epoxy.processor.MultiParamAttribute.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epoxy-processor Show documentation
Show all versions of epoxy-processor Show documentation
Epoxy is a system for composing complex screens with a ReyclerView in Android.
package com.airbnb.epoxy.processor
import com.squareup.javapoet.CodeBlock
import com.squareup.javapoet.ParameterSpec
/**
* Allows an attribute to have multiple parameters in the model setter method. Those params are then
* combined into a single object to be set on the attribute.
*
*
* This is useful for things like
* combining a StringRes and format arguments into a single string.
*/
interface MultiParamAttribute {
val params: List
/**
* This code should combine the params into a single object which can then be set on the
* attribute.
*/
val valueToSetOnAttribute: CodeBlock
fun varargs(): Boolean
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy