android-shake-detector icon indicating copy to clipboard operation
android-shake-detector copied to clipboard

Cannot instantiate multiple shake detectors

Open risharde opened this issue 6 years ago • 2 comments

Hi, I love this module but I have a scenario where I'd like multiple shake detectors. For example, to detect when a single shake has occurred vs when a double shake has occurred. I tried instantiating 2 shake detectors but it seems that the second overrides the first.

Not sure if this a bug and if there's a workaround. Would appreciate your assistance.

Thanks

risharde avatar Nov 21 '17 12:11 risharde

I have not really tested this scenario .. I will see what I can do Thank you.

netodevel avatar Nov 21 '17 12:11 netodevel

Yup,same results here,2nd one overrides the 1st one.Is there any solution for this? Thanks in advance.

svetaz avatar Dec 15 '17 10:12 svetaz