将我的行动传递给其他行

时间:2017-02-04 08:58:59

标签: android

我想将我的动作传递到其他行,我该如何使用它? android中是否有任何函数可以将编译器移动到任何动作中?

这是我的代码:

if (symbol == null) {
    symbol = "mod";
    String tv = text1.getText().toString();
    num1 = Double.valueOf(tv);
    text1.setText("");
}
else {
    //I need any there which move it on switch case.                   
}

0 个答案:

没有答案