Hello everyone
I was making an app where I used some buttons to do some events and I gave events to them per click but only the first event was being done and the others were not going on…Can anyone help me regarding this…
the data of tiny db is stored in button images and button links that the activity starter will open, I used list for fetching data from tinydb but that didnot worked so I took 2tags of tinydb
Well ., wait.. What did you say initial value as 1… If so then why do calling set click to add with 1???
I am not sure you are following correct algorithum , also as said by dora your blocks can be minimized.. You can re try..
I think, tinyDB wont store the images but you can use the link
yes tiny db can store images
my query is that when i click the button for the first time second screen will open and when i will click again then it will open the link provided but its only performing the first task..
See the logic, On button click, you will get the count as 1(due to initialize block), then next screen will open also the count will set to 2,OK then, Once you come from another screen, then that click count will be reset to 1, so again and again you will open the next screen only and there is no use of else block as per your algorithm , i think..
See the logic, On button click, you will get the count as 1(due to initialize block), then next screen will open also the count will set to 2,OK then, Once you come from another screen, then that click count will be reset to 1, so again and again you will open the next screen only and there is no use of else block as per your algorithm , i think..
==Update:==
I hope if you tried in this way, you can reduce the usage of more number of blocsk and error also can be found quickly..
@Still-learning it looks like your code is having some problems because I made the first screen of your app and there when i click o buttons an error comes saying no corresponding activity was found…