Comments (8)
@xiaoyanger0825 这个问题是存在的,后续肯定会优化的
from banner.
其他人有好的解决方案也可以直接提 pr
from banner.
如果对动画没有要求,RecyclerView也可以实现
recyclerView.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
// TODO 写事件
recyclerView.scrollToPosition(i);
return true;
}
});
from banner.
@ZTFtrue 是,RecyclerView 相关的库有很多
from banner.
这个问题什么时候可以优化掉啊?
from banner.
@xyZangGit 这个要动整体实现方式,具体在文档中指出了
from banner.
emmm, 是不是可以考虑用viewpager2
from banner.
emmm, 是不是可以考虑用viewpager2
是可以考虑的
from banner.
Related Issues (20)
- 能提供adapter的获取方法么 HOT 1
- 太耗时
- 为啥isStart 一直是false HOT 1
- 您好,能嵌套在recycleview中使用吗?比如在九宫格图片展示的recycleView, 每个格子的图片可以轮播
- 可否设置滑动方向,水平Or垂直
- bug
- 如果项目的compileSdkVersion<28的话,编译会报error: failed linking references. HOT 1
- The application's PagerAdapter changed the adapter's contents without calling PagerAdapter HOT 3
- 设置两端缩进属性,手动进行滑动时出现侧面没有正常缩小的问题 HOT 4
- 性能能否优化一下,当滑动的多了,有时候滑动的时候页面就是空白的 HOT 18
- page_right_margin page_left_margin 设置值比较大时,设置的区域 无法互动 HOT 1
- 你好,怎么滑动到某个页面,setCurrentPage无效? HOT 1
- 右端缩进模式,当图片滑到最后一张能变成左端缩进吗? HOT 6
- license HOT 1
- 手动滑动的多了,会出行空白页
- 有副标题的需求,应该怎么搞 HOT 1
- 复杂页面轮播时debug包正常 release包内存飙升卡顿
- 两端缩进依然有问题! HOT 5
- page_left_margin 如何动态设置
- 能否支持指示器放在banner外部
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from banner.