想知道 RemoteView 开关是否有类似 .ischecked 的东西?
我可以将它设置为 false 或 true,没问题,但检查它的值时遇到问题。
contentView.setBoolean(R.id.notification_switch, "setChecked", false);
最佳答案
抱歉,无法读取任何 RemoteViews
小部件的内容。
关于java - 检查 RemoteView 开关的 boolean 值的方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58227066/