Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

animation too slow #54

Open
KnIfER opened this issue Nov 21, 2020 · 4 comments
Open

animation too slow #54

KnIfER opened this issue Nov 21, 2020 · 4 comments

Comments

@KnIfER
Copy link

KnIfER commented Nov 21, 2020

No description provided.

@KnIfER
Copy link
Author

KnIfER commented Nov 21, 2020

太慢了太慢了

@KnIfER
Copy link
Author

KnIfER commented Nov 21, 2020

	rv.setItemAnimator(null);

@KnIfER KnIfER closed this as completed Nov 21, 2020
@KnIfER
Copy link
Author

KnIfER commented Nov 21, 2020

          // Prevent multi-click during the short interval.
           try {
                long lastClickTime = (long) holder.itemView.getTag();
                if (System.currentTimeMillis() - lastClickTime < 500)
                    return;
            } catch (Exception e) {
                holder.itemView.setTag(System.currentTimeMillis());
            }

硬生生弄出一个不应期来,有点low……

@KnIfER
Copy link
Author

KnIfER commented Nov 21, 2020

SVID_20201121_200709_1_SchivoNo 0_GifNo 0

KnIfER/PolymPic@3800a5e

调教完毕,能快速响应点击事件。

关于 #16 ,其实是onToggle监听处理失当。

@KnIfER KnIfER reopened this Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant