java - android actitvty里面两个一模一样的listview滚动同步
PHP中文网
PHP中文网 2017-04-17 17:49:17
0
3
515

一个activity均分左右两部分 一边一个listview 里面的内容一样,怎么实现滑动一个listview 另外一个也同步滑动呢?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
黄舟

You can try some of the methods mentioned above, or use a trickier approach, using only one listview to simulate two

Ty80

Monitor two listviews and move the other one in the monitor. I haven’t tried it specifically. You have to try it yourself. How to write monitoring, you can refer to the following link
http://stackoverflow.com/questions/16791100/detect-scroll-up-scroll-down-in-listview

Ty80

I can only give you a reference: https://github.com/jpardogo/ListBuddies
Auto-scrolling dual-column ListView. The scrolling speeds of the two ListViews are inconsistent and there is a parallax effect

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!