我爱编程,编程使我快乐!😊😊
- CSDN:前往
GridViewPager组件:采用ViewPager2 + FlexBoxLayout 实现方式,轻松实现类似美团首页分类多页展示。也可用于表情面板的展示。 链式调用,属性配置,几行代码轻松搞定。
License: Apache License 2.0
我爱编程,编程使我快乐!😊😊
非常感谢作者,能无私的作出这个项目,节省了我很多的时间。
有一点小小的建议,希望能够采纳:
我在使用过程中,发现UI的调整非常的困难,不知道作者是否能开放一些接口,让使用者自己传递一个layout进去。提供提供imageView和textView的id,可以完美的与内置的逻辑相结合的。
请问可以设置当前的页码吗
现在项目中 有一个 需求就是 想让指示器 变成圆角,但是不是圆形。
Viewpager2 的item 中使用GridViewPager ,GridViewPager 左右滑动和viewapger2的滑动冲突
目前好像只能白色背景,希望加入设置背景的功能
版本号:3.4.0
复现步骤:1.setCoverPageTransformer()
2.row_count="2"
3.column_count="4"
满足上面条件后,连续点击某一个item,就会出现position错乱问题
CoordinatorLayout+NestedScrollView+GridViewPager,按住GridViewPager区域往上滑,appbar不滑动,交互出现问题
怎么操作才不会显示出来
我的项目是android的,获取不到
com.github.mtjsoft:GridPager:v2.1.0
是否支持切换分页时带有动画效果
不支持自定义布局?
能加个长按监听事件么?
if (realList.size() <= 8) {
//隐藏point
AndSelectCircleView point = fragmentHomeBinding.homeGridpager.findViewById(R.id.scv);
point.setVisibility(View.GONE);
} else {
AndSelectCircleView point = fragmentHomeBinding.homeGridpager.findViewById(R.id.scv);
point.setVisibility(View.VISIBLE);
}
如果首次进来数据不足2页,设置不显示point指示器,当数据刷新后,达到2页数据,piont显示,但是没有默认选择一个,用 point.setSelectPosition(0);后发现,数据全部消失了。。。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.