How to uncheck checked items in Navigation View?

前端 未结 12 1412
夕颜
夕颜 2020-12-15 15:48

I know it\'s possible to highlight a navigation view item by calling setCheckedItem() or return true value in onNavigationItemSelected to display t

12条回答
  •  生来不讨喜
    2020-12-15 16:37

    All you need to do is surround your groups like this:

     
        
            
        
        
            
            
        
    
    

    No need to loop menu items with added overhead!

提交回复
热议问题