How to make menu item set selected by default

I have toggle menu item in my app. I want to make it selected when open IDE. What is the proper way to do that.

0

请先登录再写评论。