Hello there!
Please explain how to style listview or trashlistview elements in such a beautiful manner:
I want to use listview or trashlistview component.
It would be great to design elements of list using following parts:
Background of element panel
Rounded corners of element panel
Button
One or more pictures
One or more labels
If there isn’t a way to do it may be some tricks and workarounds exist
asimjib93
(Asim Jib)
October 1, 2022, 10:57am
#2
The simplest way to create such a list is to use Dynamic Component 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…
To learn how you can create a list as above, you can take a look at some example lists made with Dynamic Components.
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 (rewri…
Hope it helps!
You asked this question in Niotron before asking here and on the AI2 forum. Please don’t spam multiple communities with the same topic. Only ask questions in the forum of the builder you are using.