Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究一些 Coverflow 解决方案,但基于 Neil Davis 代码、Polidea 示例(基于 Neil Davis 代码)和一些第三种匿名解决方案的解决方案,它们都使用不推荐使用的小部件或不推荐使用的方法。
(画廊小部件,GestureDetector,...)
是否有任何类似于提到但更新日期没有弃用的库?
肿瘤坏死因子
您可以使用水平滚动视图代替画廊小部件。在水平滚动视图中添加水平方向的线性布局并将子视图(图像)添加到线性布局。通过使用子视图的左侧和屏幕中心,您可以旋转图像。它的工作原理我。万事如意
或者您可以使用扩展 CoverAbsSpinner 的 neil davis 代码。在 coverflow 构造函数中更改 mGestureDetector=new GestureDetector(context,this)。在 GestureDetector 中,所有构造函数都不被弃用。