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.
我想画一条线并在上面设置一个点击监听器。当我单击该行时,将显示一个对话框。我知道如何在视图上画一条线,但我想创建类似“线对象”的东西,以便我可以控制和设置监听器。
如果有人知道,请帮助我。谢谢 :)