一個activity均分左右兩部分 一邊一個listview 里面的內(nèi)容一樣,怎么實現(xiàn)滑動一個listview 另外一個也同步滑動呢?
認證高級PHP講師
You can try some of the methods mentioned above, or use a trickier approach, using only one listview to simulate two
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
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