public interface IViewInjector<VI extends IViewInjector>
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
IViewInjector.Action<V extends android.view.View> |
| 限定符和类型 | 方法和说明 |
|---|---|
VI |
adapter(int id,
RecyclerView.Adapter adapter) |
VI |
addView(int id,
android.view.View... views) |
VI |
addView(int id,
android.view.View view,
android.view.ViewGroup.LayoutParams params) |
VI |
alpha(int id,
float alpha) |
VI |
background(int id,
android.graphics.drawable.Drawable drawable) |
VI |
background(int id,
int res) |
VI |
checked(int id,
boolean checked) |
VI |
clicked(int id,
android.view.View.OnClickListener listener) |
VI |
disable(int id) |
VI |
enable(int id) |
VI |
enable(int id,
boolean enable) |
<T extends android.view.View> |
findViewById(int id) |
VI |
gone(int id) |
VI |
image(int id,
android.graphics.drawable.Drawable drawable) |
VI |
image(int id,
int res) |
VI |
invisible(int id) |
VI |
layoutManager(int id,
RecyclerView.LayoutManager layoutManager) |
VI |
longClicked(int id,
android.view.View.OnLongClickListener listener) |
VI |
pressed(int id,
boolean pressed) |
VI |
removeAllViews(int id) |
VI |
removeView(int id,
android.view.View view) |
VI |
selected(int id,
boolean selected) |
VI |
tag(int id,
java.lang.Object object) |
VI |
text(int id,
java.lang.CharSequence charSequence) |
VI |
text(int id,
int res) |
VI |
textColor(int id,
int color) |
VI |
textSize(int id,
int sp) |
VI |
typeface(int id,
android.graphics.Typeface typeface) |
VI |
typeface(int id,
android.graphics.Typeface typeface,
int style) |
VI |
visibility(int id,
int visibility) |
VI |
visible(int id) |
<V extends android.view.View> |
with(int id,
IViewInjector.Action<V> action) |
<T extends android.view.View> T findViewById(int id)
VI tag(int id, java.lang.Object object)
VI text(int id, int res)
VI text(int id, java.lang.CharSequence charSequence)
VI typeface(int id, android.graphics.Typeface typeface, int style)
VI typeface(int id, android.graphics.Typeface typeface)
VI textColor(int id, int color)
VI textSize(int id, int sp)
VI alpha(int id, float alpha)
VI image(int id, int res)
VI image(int id, android.graphics.drawable.Drawable drawable)
VI background(int id, int res)
VI background(int id, android.graphics.drawable.Drawable drawable)
VI visible(int id)
VI invisible(int id)
VI gone(int id)
VI visibility(int id, int visibility)
<V extends android.view.View> VI with(int id, IViewInjector.Action<V> action)
VI clicked(int id, android.view.View.OnClickListener listener)
VI longClicked(int id, android.view.View.OnLongClickListener listener)
VI enable(int id, boolean enable)
VI enable(int id)
VI disable(int id)
VI checked(int id, boolean checked)
VI selected(int id, boolean selected)
VI pressed(int id, boolean pressed)
VI adapter(int id, RecyclerView.Adapter adapter)
VI layoutManager(int id, RecyclerView.LayoutManager layoutManager)
VI addView(int id, android.view.View... views)
VI addView(int id, android.view.View view, android.view.ViewGroup.LayoutParams params)
VI removeAllViews(int id)
VI removeView(int id, android.view.View view)