Commit f5a06f34 authored by jyx's avatar jyx

代码优化

parent b93ab0c8
......@@ -251,7 +251,8 @@ class MyFragment : BaseFragment(),
gridView.onItemClickListener = this
}
mCurrentIndex = 0
piv_grid.count = pageCount
vp_grid.adapter = ViewPagerAdapter(pagerList)
vp_grid.addOnPageChangeListener(object : ViewPager.OnPageChangeListener {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment