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

Remove the limitation of 2 guides in sequence #55

Open Alchemist0823 opened 8 years ago

Alchemist0823 commented 8 years ago

In order to run a sequence, you must at least supply 2 TourGuide into Sequence using add()

worker8 commented 8 years ago

I implemented the limitation of minimum 2 guides in a sequence because I thought if you only need 1 TourGuide, you can do it without the sequence. It doesn't make too much sense to me for having a Sequence with only 1 guide in it.

Can you describe a use case whereby you need a sequence with only 1 TourGuide?

Thanks!

Alchemist0823 commented 8 years ago

when i implement a dynamical generated sequence, i have to do a special case for one element, which makes the code look trivial and ugly.

vyndor commented 8 years ago

I agree. I have this problem when I create a Sequence after configuration change accordinly to passed steps.