[Paid] Advance Recycler View Extension
The AdvanceRecyclerView extension for MIT App Inventor 2 is a powerful tool that enhances the functionality of the RecyclerView. It provides advanced features and customization options to create dynamic and interactive lists with ease. With this extension, you can implement features such as swipe gestures, drag-and-drop functionality, over-scroll effect, 51+ animations and more, making your app’s user interface more engaging and intuitive.
Initialize
You need to initialize the main recycler view into a layout.
-
layout
- Setup any view layout to initialize recycler view. -
layoutManager
- Set layout manager by extension functions. See demo blocks to understand. -
snapHelper
- Set snap helper by extension functions. See demo blocks to understand. -
data
- Set your item data as list.
Create View
Here you need to create views dynamically. You can use any dynamic components to create your own design view or you can use this extension’s dynamic functions to create view.
-
rootView
- It’s returning the root view to create new views into this root view.
Bind View
Here you need to bind data to created views.
-
rootView
- It’s returning the root view where all child views were added. -
position
- It’s returning the position of root view. -
dataItem
- It’s returning the item from the data list by it’s position.
View Attached To Window
It’s triggered when view attached to window.
-
rootView
- It’s returning the root view where all child views were added. -
position
- It’s returning the position of root view.
View Detached From Window
It’s triggered when view detached from window.
-
rootView
- It’s returning the root view where all child views were added. -
position
- It’s returning the position of root view.
Scroll State Changed
It’s triggered when scrolling state is changed.
-
scrollState
- It’s returning the scrolling state.
Scrolled
It’s triggered when user scroll.
-
dx
- It’s returning the dx position. -
dy
- It’s returning the dy position.
Left Swiped
It’s triggered when any item swiped to left.
-
position
- It’s returning the item position.
Right Swiped
It’s triggered when any item swiped to right.
-
position
- It’s returning the item position.
Dragged
It’s triggered when items are dragged or moved between them.
-
fromPosition
- It’s returning the from item position. -
toPosition
- It’s returning the to item position.
Over Scrolled
It’s triggered when list views is over scrolled.
-
state
- It’s returning the state of over scrolled. -
offset
- It’s returning the over scrolled offset.
Scroll To Position
Use this function to directly scroll to given position.
-
position
- Set the item position where to scroll.
Smooth Scroll To Position
Use this function to directly scroll to given position smoothly.
-
position
- Set the item position where to scroll.
Stop Scroll
Use this function to stop any type of scroll.
AddGapDecorator
Use this function to add gap between items.
-
gap
- Set gap as integer number.
Get Data
It’s returning the given data list.
Update Data
Use this function to update views with new or modified list item. It will recreate all views.
-
data
- Set your item data as list.
Update Data Smoothly
Use this function to update data smoothly with huge data. It will just recreate only new or modified views.
-
data
- Set your item data as list.
Notify Data Set Changed
You can use this function to manually notify the adapter to re-create all views after any changes to views.
Notify Item Changed
Use this function to notify the adapter for re-create view for given position.
-
position
- Set item position.
Notify Item Inserted
Use this function to notify adapter to add item to given position.
-
position
- Set item position.
Notify Item Removed
Use this function to notify adapter for remove item from given position.
-
position
- Set item position.
Notify Item Moved
Use this function to notify adapter for item moving by given positions.
-
fromPosition
- Set item position from where to move item. -
toPosition
- Set item position to where to move item.
Notify Item Range Changed
Use this function to notify adapter for multiple items changed.
-
positionStart
- Set start position. -
itemCount
- Set item count.
Notify Item Range Inserted
Use this function to notify adapter for multiple items insertion.
-
positionStart
- Set start position. -
itemCount
- Set item count.
Notify Item Range Removed
Use this function to notify adapter for multiple items removed.
-
positionStart
- Set start position. -
itemCount
- Set item count.
Get Root View
Use this function to get root view by child view.
-
view
- Set child view.
Get Root View By
Use this function to get root view by item position. For using this function the item should be showing into list items.
-
position
- Set item position.
Get Position
Use this function to get item position by root view.
-
rootView
- Set root view.
Create Component
Use this function to create dynamic views.
-
view
- Set view where to create new view. -
name
- Set the name of component to create view. -
tag
- Set tag for view. -
properties
- Set properties for view.
Create Template
Use this function to create dynamic views using JSON template.
-
view
- Set view where to create new views. -
template
- Set template to create views. -
parameters
- Set parameters for dynamic views.
Set Properties
Use this function to set properties for any dynamic view.
-
view
- Set view to apply properties. -
properties
- Set properties.
Set Unique Id
Use this function to set unique id to view. It’s required to use click listener.
-
view
Set view to apply unique id. -
id
- Set id for view.
Get Unique Id
Use this function to get unique id for any view.
-
view
- Set view to get unique id.
Get Component
Use this function to get child view from parent view by it’s tag.
-
view
- Set the child view. -
tag
- Set tag to find parent view.
Is Dynamic
It’s returning true if the view is created dynamically.
-
view
- Set view.
Get Component Name
It’s returning the name of component. You can use this function to get the actual name of in-built components.
-
component
- Set any in-build component to get it’s name.
Animate View On Click
Use this function to animate root view when clicked.
-
rootView
- Set view to animate. -
duration
- Set duration in milliseconds.
Linear Layout Manager
Use this function to create linear layout manager for initialize recycler view.
-
orientation
- Set orientation for recycler view from extension properties. -
reverseLayout
- Set boolean value here. Set true to show list in reverse order.
Grid Layout Manager
Use this function to create grid layout manager for initialize recycler view.
-
spanCount
- Set span count as integer number. Span count is for create items per row. -
orientation
- Set orientation for recycler view from extension properties. -
reverseLayout
- Set boolean value here. Set true to show list in reverse order.
Staggered Grid Layout Manager
Use this function to create staggered grid layout manager for initialize recycler view.
-
spanCount
- Set span count as integer number. Span count is for create items per row. -
orientation
- Set orientation for recycler view from extension properties.
Get Adapter Position
Using this properties you can get adapter position.
Orientation
Set recycler view orientation using this properties.
Snap Helper
To create snap helper use this properties.
Scroll State
To handle scroll state use this properties.
Left Swipable
Set true
to enable left swipe on items.
Swipe Left Background Color
Change background color of left swiped view.
Swipe Left Label Color
Change the label color of swiped left label text.
Swipe Left Label
Change swipe left label text. Make it empty to disable swipe left label text.
Swipe Left Label Size
Change swipe left label text size.
Swipe Left Icon
Set image on swipe left view. Make it empty to disable swipe left icon.
Right Swipable
Set true
to enable right swipe.
Swipe Right Background Color
Change background color of right swiped view.
Swipe Right Label Color
Change the label color of swiped view.
Swipe Right Label
Change the text for swipe right text. Make it empty to disable swipe right label.
Swipe Right Label Size
Change the text size of swipe right label.
Swipe Right Icon
Set the swipe right icon, set None or make it empty to disable swipe right icon.
Draggable
Set true
to enable dragging items between them.
Fixed Size
Set true
to improve performance.
Nested Scrolling
Set false
to improve scrolling.
Over Scroll
Set true
to enable over scroll effect.
Animation Duration
Set item animation duration in milliseconds.
AlwaysAnimate
Set false
to animate only on first scroll.
Item Animator
Chage item animation from available animations.
Available Animations
Total 51+ animations are available. More animations will be added soon.
Extension Specifications
Size: 85.6 KB
Price: $10 USD (One time purchase only)
Price: $15 (Lifetime support + updates)
Released On: 13 June 2023 (GMT+06:00)
Updated On: 14 June 2023 (GMT+06:00)
Payment methods: Binance | Skrill | Wise | Pyypl | Xoom | Pay2Me | Paypal | UPI (India) | bKash (Bangladesh) | Jazz Cash (Pakistan)