Static Variable
Hello everyone, After many days I am again launching a new extension i.e Static Variable. I know if you know java then you will definetly know what are static variables and how could be they useful. If you dont know what are static variable then look:- Static variable are those variables that can be accessed through any class and in Kodular or AI they can be accessed from any other screen wothout saving it to local storage like Tinydb. In easy words they are variable that can accessed from other screens.
Let see some blocks and documentation.
All Blocks
Documentation
This block creates the variable or initialise them.
This block set or update the value of variable
This block return the total number of variables you have created
This variable return all the variable names in a list that you have created
This block return all the value of all variable that you have created
This block return the value of given variable name
This block removes the given variable
This block removes all the created variable
This block renames the variable from old name to new name of variable
This block return true if the variable is created
Usage
Screen1
In this example I am storing the value in Screen1. You can see these blocks
Screen2
In Screen2 we will get the value of given tags and much more
Download
\
Open Source
https://github.com/Sumit1334/Static-Variables
If you have doubts that it stores value in local storage then just check the code
Credit
Thanks to @Shreyash for his super Rush.
Thanks @AryanGupta for helping me.
Thank always Kodular for being with myself
Suggestion and issue are welcome
If you like the extension then like the topic
Thank You All
Donate
If you like my work then donate if you can