您可以在预览中使用group属性。 例如:@Composable @Preview(group="Test") fun test1(){ } 然后在“预览”面板中,您可以选择预览组: 通过这种方式,您可以选择要显示的预览。