1
score
545
views
yes
status
CC BY-SA 3.0
Call a Method from another Method Android
It looks like goBack(View) is most likely from an onClick setup in your layout XML. Since you aren't using the view, just pass null :
Technical answers from my Stack Overflow history, with source links and licenses.
Showing 1 of 1 answer tagged methods
Exported May 9, 2026
It looks like goBack(View) is most likely from an onClick setup in your layout XML. Since you aren't using the view, just pass null :