Closed hebing0305 closed 10 months ago
应该是多次调用start方法原因 start方法线程不安全
banner.stop(); //1.先停止轮播 //等banner.mLoopTask 执行完 再添加生命周期监听 banner.postDelayed(new Runnable() { @Override public void run() { banner.addBannerLifecycleObserver(LoginActivity.this); } }, BannerConfig.LOOP_TIME);
猜测是开启了多个线程