public class IndexFastScrollRecyclerView
extends RecyclerView
| Modifier and Type | Field and Description |
|---|---|
int |
indexbarHighLightTextColor |
int |
mIndexbarBackgroudColor |
int |
mIndexBarCornerRadius |
float |
mIndexbarMargin |
int |
mIndexBarStrokeWidth |
int |
mIndexbarTextColor |
float |
mIndexBarTransparentValue |
float |
mIndexbarWidth |
int |
mPreviewBackgroudColor |
int |
mPreviewPadding |
int |
mPreviewTextColor |
int |
mPreviewTextSize |
float |
mPreviewTransparentValue |
int |
mSetIndexBarStrokeColor |
int |
setIndexTextSize |
| Constructor and Description |
|---|
IndexFastScrollRecyclerView(android.content.Context context) |
IndexFastScrollRecyclerView(android.content.Context context,
android.util.AttributeSet attrs) |
IndexFastScrollRecyclerView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
boolean |
onInterceptTouchEvent(android.view.MotionEvent ev) |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
boolean |
onTouchEvent(android.view.MotionEvent ev) |
void |
setAdapter(Adapter adapter) |
void |
setIndexBarColor(int color) |
void |
setIndexBarColor(java.lang.String color) |
void |
setIndexBarCornerRadius(int value) |
void |
setIndexbarHighLightTextColor(int color) |
void |
setIndexbarHighLightTextColor(java.lang.String color) |
void |
setIndexBarHighLightTextVisibility(boolean shown) |
void |
setIndexbarMargin(float value) |
void |
setIndexBarStrokeColor(java.lang.String color) |
void |
setIndexBarStrokeVisibility(boolean shown) |
void |
setIndexBarStrokeWidth(int value) |
void |
setIndexBarTextColor(int color) |
void |
setIndexBarTextColor(java.lang.String color) |
void |
setIndexBarTransparentValue(float value) |
void |
setIndexBarVisibility(boolean shown) |
void |
setIndexbarWidth(float value) |
void |
setIndexTextSize(int value) |
void |
setPreviewColor(int color) |
void |
setPreviewColor(java.lang.String color) |
void |
setPreviewPadding(int value) |
void |
setPreviewTextColor(int color) |
void |
setPreviewTextColor(java.lang.String color) |
void |
setPreviewTextSize(int value) |
void |
setPreviewTransparentValue(float value) |
void |
setPreviewVisibility(boolean shown) |
void |
setTypeface(android.graphics.Typeface typeface) |
void |
updateSections() |
public int setIndexTextSize
public float mIndexbarWidth
public float mIndexbarMargin
public int mPreviewPadding
public int mIndexBarCornerRadius
public float mIndexBarTransparentValue
public int mIndexBarStrokeWidth
public int mSetIndexBarStrokeColor
public int mIndexbarBackgroudColor
public int mIndexbarTextColor
public int indexbarHighLightTextColor
public int mPreviewTextSize
public int mPreviewBackgroudColor
public int mPreviewTextColor
public float mPreviewTransparentValue
public IndexFastScrollRecyclerView(android.content.Context context)
public IndexFastScrollRecyclerView(android.content.Context context,
android.util.AttributeSet attrs)
public IndexFastScrollRecyclerView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
public void draw(android.graphics.Canvas canvas)
public boolean onTouchEvent(android.view.MotionEvent ev)
public boolean onInterceptTouchEvent(android.view.MotionEvent ev)
public void setAdapter(Adapter adapter)
protected void onSizeChanged(int w,
int h,
int oldw,
int oldh)
public void setIndexTextSize(int value)
value - int to set the text size of the index barpublic void setIndexbarWidth(float value)
value - float to set the width of the index barpublic void setIndexbarMargin(float value)
value - float to set the margin of the index barpublic void setPreviewPadding(int value)
value - int to set the preview paddingpublic void setIndexBarCornerRadius(int value)
value - int to set the corner radius of the index barpublic void setIndexBarTransparentValue(float value)
value - float to set the transparency value of the index barpublic void setTypeface(android.graphics.Typeface typeface)
typeface - Typeface to set the typeface of the preview & the index barpublic void setIndexBarVisibility(boolean shown)
shown - boolean to show or hide the index barpublic void setIndexBarStrokeVisibility(boolean shown)
shown - boolean to show or hide the index barpublic void setIndexBarStrokeColor(java.lang.String color)
color - The color for the index barpublic void setIndexBarStrokeWidth(int value)
value - int to set the text size of the preview boxpublic void setPreviewVisibility(boolean shown)
shown - boolean to show or hide the previewpublic void setPreviewTextSize(int value)
value - int to set the text size of the preview boxpublic void setPreviewColor(int color)
color - The color for the preview boxpublic void setPreviewColor(java.lang.String color)
color - The color for the preview boxpublic void setPreviewTextColor(int color)
color - The text color for the preview boxpublic void setPreviewTransparentValue(float value)
value - float to set the transparency value of the preview boxpublic void setPreviewTextColor(java.lang.String color)
color - The text color for the preview boxpublic void setIndexBarColor(java.lang.String color)
color - The color for the index barpublic void setIndexBarColor(int color)
color - The color for the index barpublic void setIndexBarTextColor(java.lang.String color)
color - The text color for the index barpublic void setIndexBarTextColor(int color)
color - The text color for the index barpublic void setIndexbarHighLightTextColor(java.lang.String color)
color - The text color for the index barpublic void setIndexbarHighLightTextColor(int color)
color - The text color for the index barpublic void setIndexBarHighLightTextVisibility(boolean shown)
shown - boolean to show or hide the index barpublic void updateSections()