简体   繁体   English

在本机反应中用一条线连接两个按钮

[英]Connecting two buttons with a line in react native

I want to join two points with a line for a quiz I'm doing.我想用一条线连接两个点来进行我正在做的测验。 I'm really new to react native and I don't really understand how to use the PanResponder (that's what I think I should use in order to get the result I expect).我对本机反应真的很陌生,我真的不明白如何使用 PanResponder (我认为我应该使用它来获得我期望的结果)。

I attach here the image of what I want to do as follows.我在这里附上我想要做的图像如下。

在此处输入图像描述

I appreciate any help!我很感激任何帮助!

Here is one way to do it, with a bit of creativity it can be automated这是一种方法,只要有一点创造力,它就可以自动化

https://snack.expo.io/@rynek/hazardous-crackers https://snack.expo.io/@rynek/hazardous-crackers

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM