Hello everyone, I'm in the middle of developing a calculator app to familiarize myself with the SDK, and came across a bit of a problem. I remember in other frameworks, I could create button arrays, however I can't find a way with the Android SDK. Basically, I'm laying out the GUI in an XML file, and I want each number on the calculator to be an array, so that I can handle the values with just one onClick event function. So I want to have the main "button_numpad" button, but then for every number it would be "button_numpad", "button_numpad", etc. And when clicked, the function would have the number as a variable. Is this possible? If not, is there another way of doing this, or will I have to make a function for every numpad number?