TourGuide icon indicating copy to clipboard operation
TourGuide copied to clipboard

Disabling Click events of Views currently highlighted

Open azmathmoosa opened this issue 9 years ago • 3 comments

I use the runOverlay_ContinueMethod() in my project and found that the views that are currently highlighted are actually clickable. I want to temporarily disable all clickable items as long as the tour is running and reenable them after its over. So please either add a feature to setClickable(false) of item under view or provide a method to inquire weather the tour is over or not. I tried to disable clickability of all the Views that I pass to the ".playLater" method of each TourGuide in sequence but I don't know when to enable them again. There is no indication of weather the tour is over or not.

azmathmoosa avatar Oct 14 '15 15:10 azmathmoosa

I second this concern. I would also like to disable clicks on the view being highlighted because I would like the user to go through the entire sequence before being able to interact with the actual Activity. It would be great to have something like `tourGuide.isShowing()' or have a callback when a TourGuide or Sequence is finished.

Even better would be to block all Activity interaction until the tour is over.

Overall a great library though :)

Update: I ended up creating a view that covers my entire activity to absorb clicks and I set it to View.VISIBLE while the TourGuide sequence is running and I set it back to View.GONE when it's done. It's a messy manual solution, but it's working.

NSouth avatar Oct 21 '15 02:10 NSouth

The owner has already added feature called .disableClick(true). But this doesn't seem to be working. Any update on this ?

azrashaikh avatar Apr 29 '16 06:04 azrashaikh

Use this

.disableClickThroughHole(true)

it can disable the click when the tour guide is running.

rajatkalia1993 avatar Jan 18 '18 07:01 rajatkalia1993