What is the correct structure for Cardview niotron in json schema? Example:
],
"components": [
{
"id": "cv",
"type": "Card",
"properties": {
"ContentPaddingBottom": 0,
"ContentPaddingLeft": 0,
"ContentPaddingRight": 0,
"ContentPaddingTop": 0,
"AlignHorizontal": 3,
"AlignVertical": 2,
"Width": 98,
"Height": 100,
"Radius": 5
},
@Droid_Lab Here is a sample schema
@Pradyumansinh_Jadeja Try this Schema
{
"name": "Custom ListView",
"metadata-version": 1,
"author": "Aditya Nanda",
"platforms": [
"Niotron"
],
"keys": [
"count",
"icon",
"title"
],
"components": [
{
"id": "{count}",
"type": "HorizontalArrangement",
"properties": {
"BackgroundColor": -1,
"isCard": true,
"AlignHorizontal": 1,
"AlignVertical": 2,
"Width": -2,
"Height": -1,
"Clickable": t…
Thanks for the reply @iAditya-Nanda but this example does not have cardview, I would like to know the “type” of the cardview in the schema in niotron, I already put “card” “cardview” but it doesn’t work
1 Like
IPTF
July 11, 2022, 6:54am
4
You mistyped the type name of the card element, its correct is
2 Likes
],
"components": [
{
"id": "cv",
"type": "NiotronCardView",
"properties": {
"ContentPaddingBottom": 0,
"ContentPaddingLeft": 0,
"ContentPaddingRight": 0,
"ContentPaddingTop": 0,
"AlignHorizontal": 3,
"AlignVertical": 2,
"Width": 98,
"Height": 100,
"Radius": 5
},
@Droid_Lab Try this
3 Likes
@IPTF @iaditya_nanda Thanks for the help, I made the changes you indicated, but without success, this image error always appears, maybe it’s some incompatibility of the extension with Niotron ( recycler listview: appinventor-recycler-list/out/com.dreamers.recyclerlist.aix at main · zainulhassan815/appinventor-recycler-list · GitHub )
I used the same blocks that work correctly in App Inventor and Kodular
1 Like
@Droid_Lab What type of list you want to make please Share the image
1 Like
No., you are wrong. Check once again.
1 Like
The error is not caused by the schema, please share the blocks
Again you can check the element name using “Do it”
1 Like
@iaditya_nanda @Spicy_Topics @DeveloperDXH
I updated the extension and now the list appears. What I can’t now is to make it work is the list is updated with what is typed in the textbox, I tried these blocks to create search filters, but without success… Database: Google Spreadsheets… Sorry for bad english
GSheet_DB.aia (388.1 KB)
2 Likes
system
Closed
July 20, 2022, 3:44am
11
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.