I am following a video tutorial to copy a quiz app, which link is as below.
It consists of Screen1, Main, Study1 and Study2 so far. First three screens (Screen1, Main, Study1) have been successfully run on mobile. Next task is to copy the Study1 screen and make new Study2 screen (using the option to copy screen in kodular creator). As shown in video there was nothing to do more than that and Study2 also will work as well as Study1. But this is not in my case. I am attaching the relevant screenshots. Please help, if possible.!
But when I copied Study1 and made Study2 screen, it is not showing data from firebase, other than that in the title bar Total no. of question figure also missing in the companion, however in designer, it is not missing.
but I really donât understand much about these things. I am just trying to learn by copying youtube videos. You can get that I donât know even basic concepts.
But for now, if you are telling me that global No is empty ( I donât know how to fill it) then it is empty for the Study1 screen also, which is working fine and not showing any error. It is only Study2 screen which is throwing error, which just copy of Study1 screen.
My problem is that the same block is working fine for Study1 screen but not for Study2 screen, both screens are perfectly connected with database as well.
Even though the âvalue if Tag Not Thereâ is empty, but it is working fine Study1 screen, but throwing error in Study2 screen. If blocks are right then it should work for both screens, but if it has some error, then why the error is not Study1 screen.
I have tried too much but could not find, on other hand the video maker has no issues at all with the same blocks.
Check, for example, the variable âNoâ. Put the value of this variable to be shown in a label. At some point it may be empty, look at your blocks. Forget if the algorithm is working on the other screen, it will not solve your problem.
But when I changed global number to global No at the same place as above in Study1, it didnât work. It showed nothing alongwith all the values from database at start of the screen, after clicking the âNext Questionâ button, it worked fine as before. So I am not changing anything in Study1 for now as it is working fine with no change.
For now problem is solved, but I really donât understand what has happened, why a change is not working for Study1, which is fine for all other Screens (Study2 to Study6), please check images.
I shall feel obliged, if you could explain, what actually happened in my case. (It is strange that video maker had no such issue).
Friend.
And this comparison?
Please, Study your blocks
You should not check a solution that you have not solved. (this will not help other users) The error message clearly shows you the> sign, the number 1 and empty. The message informs you of the comparison between 2 things and one is empty. Your solution is to look for why this variable is empty.
Thanks friend, but as I already told I donât understand these things, but I assume there is need to change global No with global number, do I get that ?