deano2390 / MaterialShowcaseView

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

Sequence finished #106

Open Shanannigans opened 8 years ago

Shanannigans commented 8 years ago

Is there a callback/method to find out when a sequence was finished? I would need to know when a user has finished the tutorial. Currently I add a listener to the last item, but I don't want to depend on this item in case there is a problem with getting the view (targetview is an item in a recyclerview).

EmmanuelMess commented 5 years ago

Something like the old

.setShowcaseEventListener(new SimpleShowcaseEventListener() {
                        @Override
                        public void onShowcaseViewHide(ShowcaseView showcaseView) {
                        }
                    })
aiko929 commented 2 years ago

Is there a callback/method to find out when a sequence was finished? I would need to know when a user has finished the tutorial. Currently I add a listener to the last item, but I don't want to depend on this item in case there is a problem with getting the view (targetview is an item in a recyclerview).

How do you get for example the second or the last View?