Some articles suggest
that now build()
is included in perform()
itself, while others suggest
that build().perform()
is used when multi
build() - Generates a composite action containing all actions so far, ready to be performed (and resets the internal builder state, so subsequent calls to build() will contain fresh sequences).
perform() A convenience method for performing the actions without calling build() first.
So, whenever going for composite actions (multiple actions) use build().perform(), else perform().