In android I've to achieve following:
If entered password is correct in funToEnterPassword();
. How could I know here from which method I called this method so I can continue with functionABC();
or 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();
}