Androidでは、次のことを達成する必要があります:
入力したパスワードが で正しい場合funToEnterPassword();。どのメソッドからこのメソッドを呼び出したのかをここで知るにはどうすればよいでしょうfunctionABC();か。functionXYZ();
public void fun1(){
funToEnterPassword();
funcABC();
}
public void fun1(){
funToEnterPassword();
functionXYZ();
}
public void funToEnterPassword(){
//Enter password in popup
//If password is correct how could I know here from which method I got called this method so I can continue with functionABC() or functionXYZ();
}