diff --git a/banner/src/main/java/com/zj/banner/BannerPager.kt b/banner/src/main/java/com/zj/banner/BannerPager.kt index 6216a42..09be848 100644 --- a/banner/src/main/java/com/zj/banner/BannerPager.kt +++ b/banner/src/main/java/com/zj/banner/BannerPager.kt @@ -75,6 +75,7 @@ fun BannerPager( var mTimer: Timer? = null var mTimerTask:TimerTask? = null +@Composable fun startBanner(pagerState: PagerState, intervalTime: Long) { val coroutineScope = rememberCoroutineScope() mTimer?.cancel()