public class AnimationBuilder
extends java.lang.Object
Animation
Modifier and Type | Method and Description |
---|---|
Animation |
build()
Create the
Animation instance using configured values |
<any> |
buildAsync()
Create the
Animation instance using configured values |
static AnimationBuilder |
with(QiContext context)
Create a new builder from the qiContext
|
AnimationBuilder |
withAssets(java.util.List<java.lang.String> assetNames)
Add assets into animation
|
AnimationBuilder |
withAssets(java.lang.String... assetNames)
Add assets into animation
|
AnimationBuilder |
withResources(java.lang.Integer... resIds)
Add resources into animation
|
AnimationBuilder |
withResources(java.util.List<java.lang.Integer> resIds)
Add resources into animation
|
AnimationBuilder |
withTexts(java.util.List<java.lang.String> texts)
Add animation from texts
|
AnimationBuilder |
withTexts(java.lang.String... texts)
Add animation from texts
|
public static AnimationBuilder with(QiContext context)
context
- the Android contextpublic AnimationBuilder withAssets(java.lang.String... assetNames)
assetNames
- the assetspublic AnimationBuilder withAssets(java.util.List<java.lang.String> assetNames)
assetNames
- the assetspublic AnimationBuilder withResources(java.lang.Integer... resIds)
resIds
- the resources idspublic AnimationBuilder withResources(java.util.List<java.lang.Integer> resIds)
resIds
- the resources idspublic AnimationBuilder withTexts(java.lang.String... texts)
texts
- the textspublic AnimationBuilder withTexts(java.util.List<java.lang.String> texts)
texts
- the textspublic Animation build()
Animation
instance using configured valuespublic <any> buildAsync()
Animation
instance using configured values