flashview icon indicating copy to clipboard operation
flashview copied to clipboard

切换到其他activity 停止flashview线程呢??

Open drduan opened this issue 8 years ago • 2 comments

flashview

drduan avatar Mar 24 '16 05:03 drduan

你可以尝试在FlashView里面增加一个方法,调用 mHandler.removeCallbacksAndMessages(null); 这里自动轮播是采用Handler+message的方式,所以可以使用该方法移除所有消息进而停止线程。当你切换Activity时,调用这个新增的方法即可

gcgongchao avatar Apr 04 '16 13:04 gcgongchao

ok

drduan avatar Apr 05 '16 02:04 drduan