You can use the dynamic components extension:
Dynamic Components Extension that supports every component in your AI2 distribution, instead of having pre-defined components.
I thought about making a full method to create all dynamic components without creating different blocks for every component because it would be useless. So I was trying to find a proper solution for a long time. And here it is!
The minimum required API version for this extension is 1 .
It basically uses Java’s Reflection feature, so this allows you to create …
And use With Icon From Material Font block to set a material icon to your component or use the dynamic components SetProperty block to set the property FontTypeface with the value 7 (Material Icons)
See here an example with the button component ( first list view type ):
So Welcome, Everyone today in this guide I will show how to make different listviews using @yusufcihan 's Dynamic Component Extension. It is fully Customisable According to your needs.
So Let’s Begin
1. Simple ListView (Icon, Title & Action Button)
• Layout
[image]
• Inputs
[image]
Icon : Url
Title : String
Material_Icon_Name : String
For Material Icon Name Click Here
• Blocks
[blocks]
• Schema
{
"name": "Simple ListView",
"metadata-version": 1,
"author": "Maayur (rewritten …
See also here
2 Likes