Slow Plataform and app


#1

Hi, thanks for reading this!

Here is my problem:

When coding or even opening the main screen of my project through the plataform it is very slow.

Its awfull because i want to finish this project as fast as possible but even with a good internet and computer it’s very slow.

Details about my project and possible redundancies:

It’s a catalog with 30 buttons!

Exemple image

Each button has a switch. ( so i have at Screen Open Block 30x “read the firebase variable X and if its on set switch X on”

Exemple image

Each button has an associated variable in firebase to set it visible or invisible. ( so i have at Screen Open Block 30x "read the firebase variable X and if its false set button X invisible.

Exemple image

When i click on one button it leads the app to another screen. ( so i have 30x “If button X clicked set variable ‘button’ to X and go to screen 2”)

Exemple image

When turn a Switch on or off i save it’s state in a firebase variable ( So i have 30 of thoso blocks)

Exemple image