diff --git a/bannerview/src/main/java/com/zhpan/bannerview/BannerViewPager.java b/bannerview/src/main/java/com/zhpan/bannerview/BannerViewPager.java index 8315bbb..2e7c732 100644 --- a/bannerview/src/main/java/com/zhpan/bannerview/BannerViewPager.java +++ b/bannerview/src/main/java/com/zhpan/bannerview/BannerViewPager.java @@ -1076,7 +1076,7 @@ public BannerViewPager registerLifecycleObserver(Lifecycle lifecycleRegistry) return this; } - public BannerViewPager removeLifecycleRegistry(Lifecycle lifecycleRegistry) { + public BannerViewPager removeLifecycleObserver(Lifecycle lifecycleRegistry) { lifecycleRegistry.removeObserver(this); return this; }