switchTo1(View view)
private
public
public void switchTo1(View view)
private void switchTo1(View view){}
将其更改为公共以允许从班级外部访问