Closed hello-earth closed 8 years ago
Great Job, do you mind a code review before a merge?
i have remove the label "singleTask" from AndroidManifest the close button is want to switch status between walk and move joystick, now it've done. fix lib bug in TimerTask, thx. about multidex: when the number of function name over 65535, it'll work; if not, it's nothing to do. this code have run on my phone, it's ok.
Thanks. Found two bugs. RockerView still call listener even when the window is not in the foreground. RockerView wont call listener when the view is pressed and held.
if you don't mind, i'll remove the class (welcome), i think almost function move to MainActivity should more wonderful.
about two bugs: i'll fix that.
Move some permission works to MainActivity means more dialog and buttons, I 'll do this by myself, thanks all the same.
The second bug is not an actual bug. System won't send more motion events when it detects the finger didn't move, and the motion event action is as below: DOWN->MOVE->MOVE->MOVE......(it waits here) When RockerView get no futher actions, it will call the listener in a fixed frequency(mRereshCycle), and the frequency is too small to use.
About the multidex, maybe you got some misunderstandings. The Android Gradle plugin started to support Instant Run in the 2.0 version. The instant run use the feature of multidex, and that feature is not supported by Xposed. That is why I don't use the newest version. The multidex feature is not applied in release build, and you could feel free to use when your are debuging, but I prefer dont to change it in the commit file, maybe a trick to someone forked this repo.
@hello-earth Hi, mate, I fixed both bugs, and please dont mind them anymore.
If you have nothing to commit, I'll merge this pr.
ok
@hello-earth Hi bro, I add the power parameter to RockerView(the distance between center and touched position), and temporary remove the zoom parameter. Keep you noticed.
…m/GcsSloop/Rocker