deano2390 / MaterialShowcaseView

A Material Design themed ShowcaseView for Android
Apache License 2.0
2.72k stars 526 forks source link

OnSequenceItemDismissedListerner in sequece always gets position 0 #129

Open ngima opened 7 years ago

ngima commented 7 years ago

sequence.setOnItemDismissedListener(new MaterialShowcaseSequence.OnSequenceItemDismissedListener() { @Override public void onDismiss(MaterialShowcaseView materialShowcaseView, int i) { Log.e("#test_sequence", "position: "+i); // i is always zero } });

murdak commented 2 years ago

this is the case for non-single use flow. setting a sequenceID paramter would let sequence position increment.