worker8 / TourGuide

TourGuide is an Android library that aims to provide an easy way to add pointers with animations over a desired Android View
MIT License
2.63k stars 416 forks source link

Add hasNext() #139

Open Mithrandir21 opened 6 years ago

Mithrandir21 commented 6 years ago

The logic for hasNext() already exists in the next(), but by making it publicly accessable users of the ChainTourGuide can use hasNext() to determine if the end of the chain has been reached. This will allow performing some kind of action at the end of a chain of actions, like tour completed, don't run again settings.