Amir_RVShimmer
Amir_RVShimmer
Events:
- GetItemCount As Int
- GetItemViewType (Position As Int) As Int
- onCreateShimmer (ViewType As Int) As Amir_ShimmerView
- onCreateViews (Parent As Panel, ViewType As Int)
- onShimmerClick (Parent As Panel, Position As Int)
- onShimmerLongClick (Parent As Panel, Position As Int)
Functions:
- Initialize (EventName As String)
- IntoRecyclerView (Recycler As android.support.v7.widget.RecyclerView)
- IsInitialized As Boolean
- LayoutSize (Left As Int, Top As Int, Width As Int, Height As Int)
- StartAnimation (Recycler As android.support.v7.widget.RecyclerView, Position As Int)
- StopAnimation (Recycler As android.support.v7.widget.RecyclerView, Position As Int)
Amir_ShimmerView
Functions:
- BringToFront
- Initialize (Left As Int, Top As Int, Width As Int, Height As Int)
- Invalidate
- Invalidate2 (arg0 As android.graphics.Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetBackgroundImage (arg0 As android.graphics.Bitmap)
- SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
- SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
Properties:
- AnimationReversed As Boolean [write only]
- Background As android.graphics.drawable.Drawable
- Color As Int [write only]
- Enabled As Boolean
- GradientCenterColorWidth As Float [write only]
Sets the width of the center gradient color to a value higher than 0 to less than 1.
0.99 means that the whole shimmer line will have this color with a little transparent edges.
The default value is 0.1.
- Height As Int
- Left As Int
- Padding As Int()
- Parent As Object [read only]
- ShimmerAngle As Int [write only]
Set the angle of the shimmer effect in clockwise direction in degrees.
- ShimmerColor As Int [write only]
- ShimmerDuration As Int [write only]
- ShimmerItemBackground As android.graphics.drawable.Drawable [write only]
- ShimmerMaskWidth As Float [write only]
Sets the width of the shimmer line to a value higher than 0 to less or equal to 1.
1 means the width of the shimmer line is equal to half of the width of the ShimmerLayout.
The default value is 0.5.
- Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
Author: AmirHosseinAghajari