Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
请教一下 RN ScrollView 左右滑动事件如何拿到 key?
dlyt
·
Mar 7, 2017
· 3702 views
This topic created in 3351 days ago, the information mentioned may be changed or developed.
scrollView
key
请教
滑动
2 replies
•
2017-03-08 09:14:33 +08:00
1
ariesjia
Mar 7, 2017
你是指 index 么? 拿 offset 自己算吧
2
dlyt
OP
Mar 8, 2017
@
ariesjia
恩,我后来 e.nativeEvent.contentOffset.x 算了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3032 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 71ms ·
UTC 05:06
·
PVG 13:06
·
LAX 22:06
·
JFK 01:06
♥ Do have faith in what you're doing.
❯