public static class PlaceholderParameter.Builder
extends java.lang.Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
PlaceholderParameter |
build()
Now build a
PlaceholderParameter |
PlaceholderParameter.Builder |
setAnimation(android.view.animation.Animation animation) |
PlaceholderParameter.Builder |
setColor(int color)
Set the color of the placeholder.
|
PlaceholderParameter.Builder |
setColorRes(int colorRes)
Set the color of the placeholder.
|
PlaceholderParameter.Builder |
setDrawable(android.graphics.drawable.Drawable drawable)
Set the drawable of the placeholder.
|
PlaceholderParameter.Builder |
setDrawableRes(int drawableRes)
Set the drawable of the placeholder.
|
PlaceholderParameter.Builder |
setView(android.view.View view)
Set the view which you want to display placeholder.
|
public PlaceholderParameter.Builder setView(android.view.View view)
public PlaceholderParameter.Builder setColor(int color)
color - The color value.public PlaceholderParameter.Builder setColorRes(int colorRes)
colorRes - The color resource id.public PlaceholderParameter.Builder setDrawable(android.graphics.drawable.Drawable drawable)
drawable - The drawable.public PlaceholderParameter.Builder setDrawableRes(int drawableRes)
drawableRes - The drawable resource id.public PlaceholderParameter.Builder setAnimation(android.view.animation.Animation animation)
public PlaceholderParameter build()
PlaceholderParameter