Safeargs library doesnt generate direction class

前端 未结 19 946
孤街浪徒
孤街浪徒 2021-02-01 11:44

I use navigation library and safeargs for passing data. I define argument to fragment like that.



        
19条回答
  •  心在旅途
    2021-02-01 12:22

    Took a bit to figure out but you need both action and arguments in your nav xml file to generate both.

    
        
        
            
        
    
    

提交回复
热议问题