当我试图检查它的源时,它会给出WheelView错误。WheelView没有在里面导入。Calendar calendar = Calendar.getInstance();
final WheelView year = (WheelView) findViewById(R.id.year);
final WheelView</em
我正在尝试发送来自SwiftUI组件的值。我不想有像DragGesture这样的API (举个例子)。 DragGesture() print("Get access to value when it changes \(value)")
} 如何将这样的回调函数添加到MyCustomComponent?我更喜欢使用完全相同的语法。该组件将连续发出值(基于组件内部的本地DragGesture )。Code for the Component I wan't to augment can be seen he