I have a button and when click that button a db should change in firebase depending on the value of current db value.
now i want to add multiple buttons to same screen . how can i make a function so that i do not have to do
this
every time i create a button.just call the fuction inside “when buttonX click” should work…