I am making an app that shows a result in a TextView and I would like to clear this TextView whenever a spinner, button, segmented control (excluding my calculate button) is pressed. Is there anyway to implement this without having to put TextView clearing code in every Click event in the layout?
Share
this may help you.
All onClick events you can handle like this but for spinner event or any other layout event you have to do this
Hope this help ..