0
当我调用buttonHandler时,即使Handler未完成,应用程序也会继续在后台运行,如何停止此行为并回退到线性执行?如何停止按钮处理程序 - Android
qrscan.setOnClickListener(new View.OnClickListener() { //the Button listener
public void onClick(View view) { //the handler
if(initiateScan(activity) == null) //first thing i expect it to execute
initiateSend(activity); //the next thing which should be executed AFTER
}
}
);