Skip to content

Commit

Permalink
修改缓存页面
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomsh committed Aug 13, 2019
1 parent c90d289 commit f2bcff1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion LibBanner/src/main/java/com/ms/banner/Banner.java
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ private void setData() {
}
viewPager.setAdapter(adapter);
viewPager.setCurrentItem(currentItem);
viewPager.setOffscreenPageLimit(count);
if (isScroll && count > 1) {
viewPager.setScrollable(true);
} else {
Expand Down
1 change: 0 additions & 1 deletion LibBanner/src/main/java/com/ms/banner/BannerNew.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ private void setData() {
}
viewPager.setAdapter(adapter);
viewPager.setCurrentItem(currentItem);
viewPager.setOffscreenPageLimit(count);
if (isScroll && count > 1) {
viewPager.setScrollable(true);
} else {
Expand Down

0 comments on commit f2bcff1

Please sign in to comment.