Skip to content

Commit

Permalink
Rename removeLifecycleRegistry to removeLifecycleObserver #288
Browse files Browse the repository at this point in the history
  • Loading branch information
zhpanvip committed Nov 23, 2022
1 parent 0c7c969 commit 9d57c48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ public BannerViewPager<T> registerLifecycleObserver(Lifecycle lifecycleRegistry)
return this;
}

public BannerViewPager<T> removeLifecycleRegistry(Lifecycle lifecycleRegistry) {
public BannerViewPager<T> removeLifecycleObserver(Lifecycle lifecycleRegistry) {
lifecycleRegistry.removeObserver(this);
return this;
}
Expand Down

0 comments on commit 9d57c48

Please sign in to comment.