TapTargetView icon indicating copy to clipboard operation
TapTargetView copied to clipboard

How to set cancleable(false) and set listener onSequenceStep on fragment ?

Open jemmycalak opened this issue 6 years ago • 0 comments

  • [x] I have verified the issue exists on the latest version
  • [x] I am able to reproduce it

Version used:

Stack trace:

Android version:

my script on fragment : sequence = new TapTargetSequence(getActivity()).targets( tap1, tap2, tap3 ).listener(new TapTargetSequence.Listener() { @Override public void onSequenceFinish() { }

        @Override
        public void onSequenceStep(TapTarget lastTarget, boolean targetClicked) {
            Log.e("onSequenceSte", "<<<<<<<");
        }

        @Override
        public void onSequenceCanceled(TapTarget lastTarget) {
        }
    });
    sequence.start();

TapTarget.forView(view, title, msg) .cancelable(false) .drawShadow(true) .outerCircleColor(R.color.accentBlueDark) .textColor(R.color.white) .transparentTarget(true) .tintTarget(true).id(indexTap);

script run on fragment,, but when I press back button cancleable and get position tap listener not working,, when I press the target onSequenceStep is run,,

I want to set cancleable on fragment and get position when outer target position cliked..

jemmycalak avatar Mar 18 '19 10:03 jemmycalak