[Solved] I want to reduce the code in Android
Are all the buttons currently in the same class? Because if so, you can just make a method that does the work, and call it for each button, passing as method arguments any variables that change from button to button. If not, you can still make a method, but you’ll just have to make it … Read more