Amir_RVFanLayout
-
Functions:
- AngleItemBounce (angleItemBounce As Float) As com.aghajari.rvplugins.Amir_RVFanLayout.Builder
Sets the AngleItemBounce and returns a reference to this
Builder so that the methods can be chained together.
- Build
- FanRadius (isFanRadiusEnable As Boolean) As com.aghajari.rvplugins.Amir_RVFanLayout.Builder
Sets the fanRadius and returns a reference to this
Builder so that the methods can be chained together.
- ViewHeight (Height As Int) As com.aghajari.rvplugins.Amir_RVFanLayout.Builder
Sets the ViewHeight Dp and returns a reference to this
Builder so that the methods can be chained together.
- ViewWidth (Width As Int) As com.aghajari.rvplugins.Amir_RVFanLayout.Builder
Sets the ViewWidth Dp and returns a reference to this
Builder so that the methods can be chained together.
Amir_RVFanLayout
Events:
- onAnimationCancel (Tag As Object)
- onAnimationEnd (Tag As Object)
- onAnimationRepeat (Tag As Object)
- onAnimationStart (Tag As Object)
Functions:
- CollapseViews
Method collapsed views (cards).
- DeselectItem
Deselect selected item.
- EnableChildDrawingOrderCallback
- Initializer (Recycler As android.support.v7.widget.RecyclerView) As com.aghajari.rvplugins.Amir_RVFanLayout.Builder
- RestoreBaseRotationSelectedItem (EventName As String, Tag As Object)
Method need to restore base (bounce) rotation for item
- SaveState
- ScrollToCenter
Scroll views left or right so nearest view will be in the middle of screen
- ScrollToPosition (position As Int, Smooth As Boolean)
- StraightenSelectedItem (EventName As String, Tag As Object)
Method need to remove bounce item rotation
- SwitchItem (selectedViewPosition As Int)
Method change item state from close to open and open to close (switch state)
selectedViewPosition: item view position
Properties:
- FindCurrentCenterView As android.view.View [read only]
Find view in the middle of screen
- FindCurrentCenterViewPos As Int [read only]
Find position of view in the middle of screen
- IsItemSelected As Boolean [read only]
- IsSelectedItemStraightened As Boolean [read only]
is selected item straightened or has base (bounce) rotation
- SelectedItemPosition As Int [read only]
selected item position
Author: AmirHosseinAghajari