Hello. How can you make a menu item unavailable for clicking under certain conditions. For example, if I have bluetooth mode, then all the menu items are available, but if I switch to wi-fi mode, then either hide the desired menu item or make it unavailable so that it would not be possible to enter there.
Hello. How can you make a menu item unavailable for clicking under certain conditions. For example, if I have bluetooth mode, then all the menu items are available, but if I switch to wi-fi mode, then either hide the desired menu item or make it unavailable so that it would not be possible to enter there.