youlookwhat / CloudReader

🗡️ 云阅:一款基于网易云音乐UI,使用玩Android Api,Retrofit2 + RxJava2 + Room + MVVM-databinding架构开发的Android客户端
https://youlookwhat.github.io/CloudReader
Apache License 2.0
4.94k stars 1.33k forks source link

电影OneFragment跳转<->回退异常 #89

Closed Cazaea closed 5 years ago

Cazaea commented 5 years ago

在外层ViewPager包含的三个Fragment中,OneFragment所引用的OneAdapter第43行,不能排除快速双击造成的异常,请您查看修复一下。

我在应用时,擅自修改成了:

` // 不能排除快速双击困扰 // binding.setCallback(subjectsBean -> OneMovieDetailActivity.start(activity, positionData, binding.ivOnePhoto));

            binding.llOneItem.setOnClickListener(new PerfectClickListener() {
                    @Override
                    protected void onNoDoubleClick(View v) {
                        OneMovieDetailActivity.start(activity, positionData, binding.ivOnePhoto);
                    }
            });

`

或者是否要修改一下OneItemCallback

youlookwhat commented 5 years ago

嗯,这是一个问题,后期会修改👌

Cazaea commented 5 years ago

OK

youlookwhat commented 5 years ago

已完善