Yes. You can create any type of component with dynamic component extension and can add them in recycler view. BTW, it was a very silly question
Please provide test apk link
Version 5
Version 5 of the recycler view extension is released.
Extension is becoming more easy now.
What’s New
-
Click Listeners has been added. Now it’s very easy to listen clicks on every child component of the item.
-
Item Animator can be enabled or disabled.
-
You can fetch the id that you have added in
AddComponentToParent
directly from the component that you have added inAddComponentToParent
. -
You can get the position of any item from the parent and parent view.
-
You can check wether the any component is parent View or not.
-
You can get the parent View from position.
Bug Fixed
-
APK crash while enabling only one side swipe.
-
Custom Font Typeface not working properly in text decoration while swiping is fixed.
-
Notify Item Removed was not working is now fixed.
Changes
-
Recycler View’s view holder’s itemView is now changed to Vertical Arrangement instance from Linear Layout now.
-
GetParentAsContainer
is now must to use while making component as the above change takes place. -
AddComponentToParent
just stores the value now. It don’t add any component in parent view now. It’s optional now. But if you did not used it then almost blocks are not going to work as it stores the values. -
While using any Notify block, you don’t need to modify the total quantity of recycler view. It will be adjusted own in extension.
Blocks Added
These events triggers when the component is clicked. It returns the clicked component, position, id and the parent.
This block add the click listers to the child and parent component of the item View. This block is very helpful fir listening clicks on components. Now you don’t need to use when any component click with many blocks and logic. However, you can still use the when any Component Click method. You can add the listener to a child component while creating them. Given id and parent will be returned by the
ItemClicked
event in addtion it return the position of the item View. Read below for the usage.
These blocks are for fetching the info about and from the components.
Usage
This way, you could use the click function.
You can simply add the click listeners to multiple components of an item while creating them.
Item Clicked event will be triggered and it will return you all the info of clicked component.
I hope this would be very useful for you.
Thank you for buying my extension. I hope you’re enjoying the extension.
Send me a PM to get the latest version of the extension. I have sent this version to some koders already. If you did not get then just send a PM.
Thank you
Sumit
This is amazing, Sumit! Wow Thanks a lot for your hard work
Hi i need this extension
have any way to get item x,y position from parent?
Yes, possible with extensions. You can find x and y position of the parent and child components with these extensions.
[Free] Popup View Extension and [Free] Component Tools Extension
I Want To ask one is this extensoin works in niotron or android builder
yes it works
how to add search system please tell me
@iamwsumit when you release next update
Scrolling like this you already send updated version but I dont know why u suddenly remove this from group
There are some helping demo AIAs for recycler view extension that are recently published by me. You can read more about them here.
Nested Recycler View
Recycler MultiView
Refresh List view with Swipe refresh layout
Search list with Recycler View