I use Safe Args and LiveData to send args from FirstFragment.class to SecondFragment.class.
But I need the args in SecondViewModel.class, not in SecondFragment.class.
How to send the args from SecondFragment.class to SecondViewModel.class?
没有评论:
发表评论