Home > Mobile >  Why many app doesn't do continuous click limit?
Why many app doesn't do continuous click limit?

Time:11-29

Recently discovered in learning Android page jump to click will open more than one Activity many times, other click jump is also a similar situation, finally through to the click event intervals control to solve the problem,
But recently I found a lot of app for continuous click no restrictions, such as bi li bi li, iQIYI, and taobao, the commonly used software, click on two consecutive times will open two interface, some don't understand, it should be easy to solve for them, why they didn't do? What effect is there?

CodePudding user response:

Now are good mobile performance, it is not necessary to do control, can say better, also don't do nothing

CodePudding user response:

I also found that huawei mobile phone Settings, many are not avoid to do a quick click, maybe it's a quick click itself, is not easy to trigger, in addition, if a quick click triggered won't be any impact on logic and security, and no customer complaint, it should also need not solve,

CodePudding user response:

You set up the activity of the android: launchMode="singleTop"

CodePudding user response:

Add an if test each OnClick callback, you can do that or you define an inheritance do if operation inside an OnClickListener interface, do simple but complicated

CodePudding user response:

Normal operation can't jump times first, and then a long narrow table more time and little influence, moreover each place to judge too wordy, again afraid to intercept overall too
  • Related