javaandroidremoteview

Method for checking the boolean value of a RemoteView switch?


Was wondering if there was something like .ischecked when it comes to RemoteView switches?

I can set it to false or true, no problem, but checking its value I'm having trouble with.

 contentView.setBoolean(R.id.notification_switch, "setChecked", false);

Solution

  • Sorry, but there are no means of reading the contents of any RemoteViews widgets.