TapTargetView
TapTargetView copied to clipboard
DismissAnimation appears to ignore tappedTarget from dismiss method
- [x] I have verified the issue exists on the latest version
- [x] I am able to reproduce it
Version used: 1.12.0
The dismiss() method looks like this:
public void dismiss(boolean tappedTarget) {
isDismissing = true;
pulseAnimation.cancel();
expandAnimation.cancel();
if (!visible || outerCircleCenter == null) {
finishDismiss(tappedTarget);
return;
}
if (tappedTarget) {
dismissConfirmAnimation.start();
} else {
dismissAnimation.start();
}
}
The dismissAnimation used looks has this finishDismiss(true); which means when I get the event of the dismiss I'm told it was userInitiated even though I may have passed false as the tappedTarget on dismiss().