872409 / android-lockpattern

Automatically exported from code.google.com/p/android-lockpattern
Apache License 2.0
0 stars 0 forks source link

DisplayMode.Animate creates the pattern infinitely. How to detect if the pattern has been animated once? #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an activity
2. Add lockPatternView in the layout file
3. In the activity, use lockPatternView.setpattern(DisplayMode.Animate, pattern)

What is the expected output? What do you see instead?
I expected to see the pattern provided in the method to be animated just once. 
Instead, the pattern forms, clears and froms again infinitely. How can I detect 
that the pattern has been animated once and make it stop animating after that?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by aytid...@gmail.com on 8 Mar 2015 at 1:03

GoogleCodeExporter commented 9 years ago
Hello,

Currently I don't know how to do that. The library already provides you 
LockPatternActivity (see QuickUse for usage). If you don't have special use, 
you can use LockPatternActivity (again, please see QuickUse) straight away, 
instead of reading the source of LockPatternView and creating your own activity.

I'm sorry.

Sincerely,
Hai

Original comment by haibison...@gmail.com on 8 Mar 2015 at 1:09