Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bleeding182/recyclerviewItemDecorations
/ functions
Functions
67 in github.com/bleeding182/recyclerviewItemDecorations
⨍
Functions
67
◇
Types & classes
20
↓ 10 callers
Method
width
Set the width of the separator. @param width the width in dp @return the builder
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:162
↓ 7 callers
Method
getItemViewType
(int position)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderItemTestAdapter.java:58
↓ 4 callers
Method
getItemCount
()
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/base/SimpleViewAdapter.java:32
↓ 3 callers
Method
inflate
(@LayoutRes int layoutRes)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:189
↓ 2 callers
Method
hasDividerOnBottom
(View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/DividerDecoration.java:40
↓ 1 callers
Method
buildShadowCorners
()
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/CardViewDecoration.java:149
↓ 1 callers
Method
color
Set the separator color from a color. @param color the color to use @return the builder @see android.graphics.Color
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:151
↓ 1 callers
Method
drawHighlights
(Canvas c, float indicatorStartX, float indicatorPosY, int highlightPosition, fl
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/viewpager/LinePagerIndicatorDecoration.java:128
↓ 1 callers
Method
drawInactiveIndicators
(Canvas c, float indicatorStartX, float indicatorPosY, int itemCount)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/viewpager/LinePagerIndicatorDecoration.java:114
↓ 1 callers
Method
getDefaultColor
()
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:194
↓ 1 callers
Method
getSpanSize
(int position)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/gridspan/GridSpanSizeLookUp.java:33
↓ 1 callers
Method
isLayoutRTL
(RecyclerView parent)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/gridspan/GridSpanDecoration.java:78
↓ 1 callers
Method
onCreateRecyclerView
Initialize the recycler view. {@link #recyclerView} @param savedInstanceState the saved state
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/base/RecyclerViewActivity.java:27
↓ 1 callers
Method
onItemDismiss
(int position)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ItemTouchHelperCallback.java:41
Method
Builder
Create the builder with a context to configure a SeparatorDecoration. @param context the context
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:127
Method
Builder
(@NonNull Context context)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:169
Method
CardViewDecoration
(Resources resources, int backgroundColor, float radius)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/CardViewDecoration.java:50
Method
DismissDecoration
(@ColorInt int color, Bitmap icon, float density)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/DismissDecoration.java:22
Method
DividerDecoration
(Context context)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/DividerDecoration.java:20
Method
GridSpanDecoration
(int padding)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/gridspan/GridSpanDecoration.java:37
Method
HeaderDecoration
(View view, boolean scrollsHorizontally, float parallax, float shadowSize, int columns)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:58
Method
ItemTouchHelperCallback
(ItemTouchHelperAdapter adapter)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ItemTouchHelperCallback.java:12
Method
LinePagerIndicatorDecoration
()
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/viewpager/LinePagerIndicatorDecoration.java:70
Method
ParallaxHeaderDecoration
(final Context context, @DrawableRes int resId)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ParallaxHeaderDecoration.java:21
Method
SeparatorDecoration
(@ColorInt int color, @FloatRange(from = 0, fromInclusive = false) float width,
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:53
Method
SimpleViewAdapter
(int itemCount, int layout)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/base/SimpleViewAdapter.java:14
Method
SimpleViewHolder
(View itemView)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderItemTestAdapter.java:27
Method
build
Get the configured SeparatorDecoration. @return the separatorDecoration @see SeparatorDecoration
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:208
Method
build
()
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:220
Method
colorFromResources
Set the separator color from a resource. @param colorResId the resource id to use @return the builder
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:139
Method
columns
(@IntRange(from = 1) int columns)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:227
Method
dropShadow
(@DimenRes int dimenResource)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:215
Method
dropShadowDp
(@IntRange(from = 0, to = 80) int dp)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:210
Method
getItemCount
()
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderItemTestAdapter.java:53
Method
getItemOffsets
(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/DismissDecoration.java:28
Method
getItemOffsets
(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/DividerDecoration.java:31
Method
getItemOffsets
(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:74
Method
getItemOffsets
(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:118
Method
getItemOffsets
(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/CardViewDecoration.java:185
Method
getItemOffsets
(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/gridspan/GridSpanDecoration.java:41
Method
getItemOffsets
(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/viewpager/LinePagerIndicatorDecoration.java:158
Method
getMovementFlags
(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ItemTouchHelperCallback.java:16
Method
isItemViewSwipeEnabled
()
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ItemTouchHelperCallback.java:24
Method
onBindViewHolder
(HeaderItemTestAdapter.SimpleViewHolder viewHolder, int i)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderItemTestAdapter.java:44
Method
onBindViewHolder
(RecyclerView.ViewHolder holder, int position)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/base/SimpleViewAdapter.java:27
Method
onCreate
(Bundle savedInstanceState)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/MainActivity.java:16
Method
onCreate
(@Nullable Bundle savedInstanceState)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/base/RecyclerViewActivity.java:14
Method
onCreateRecyclerView
(Bundle savedInstanceState)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/gridspan/GridSpanActivity.java:40
Method
onCreateRecyclerView
(Bundle savedInstanceState)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/viewpager/ViewPagerActivity.java:16
Method
onCreateViewHolder
(ViewGroup viewGroup, int type)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderItemTestAdapter.java:33
Method
onCreateViewHolder
(ViewGroup parent, int viewType)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/base/SimpleViewAdapter.java:19
Method
onDraw
(Canvas c, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/DismissDecoration.java:33
Method
onDraw
(Canvas c, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/DividerDecoration.java:46
Method
onDraw
(Canvas c, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ParallaxHeaderDecoration.java:25
Method
onDraw
(Canvas c, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:89
Method
onDraw
(Canvas c, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:81
Method
onDrawOver
(Canvas c, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/CardViewDecoration.java:67
Method
onDrawOver
(Canvas c, RecyclerView parent, RecyclerView.State state)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/viewpager/LinePagerIndicatorDecoration.java:77
Method
onItemDismiss
(int position)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderItemTestAdapter.java:18
Method
onMove
(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ItemTouchHelperCallback.java:29
Method
onSwiped
(RecyclerView.ViewHolder viewHolder, int direction)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/ItemTouchHelperCallback.java:34
Method
parallax
Adds a parallax effect. @param parallax the multiplier to use, 0f would be the view standing still, 1f moves along with the first item. @return this
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:200
Method
scrollsHorizontally
(boolean isHorizontal)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:205
Method
setMargin
Set the margin of the separator @param margin the margin in dp @return the builder
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:173
Method
setView
(@NonNull View view)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:184
Method
with
A builder to easily create the decoration. @param context a context to use @return the builder
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/SeparatorDecoration.java:70
Method
with
(Context context)
app/src/main/java/com/github/bleeding182/recyclerviewdecorations/HeaderDecoration.java:139