Skip to content

Commit

Permalink
细节优化
Browse files Browse the repository at this point in the history
  • Loading branch information
lihangleo2 committed Sep 9, 2023
1 parent 9aadb22 commit 5c3a4c3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class GalleryUseActivity : AppCompatActivity() {
private val mAdapter by lazy {
SmartViewPager2Adapter(this, mBinding.viewPager2)
.cancleOverScrollMode()
.asGallery(ConvertUtils.dp2px(50f),ConvertUtils.dp2px(50f))
.setPagerTransformer(SmartTransformer.TRANSFORMER_ALPHA_SCALE)
.setOffscreenPageLimit(6)
.setPreLoadLimit(3)
Expand Down

0 comments on commit 5c3a4c3

Please sign in to comment.