'RecyclerView Fragment calling itself onClick of the ListView with changed data using bundle in Android Kotlin using MVVM to separate data in VM class
So its just I want to ask question is in RecyclerView Fragment as, I want to buid a RecyclerView Fragment in MVVM by seprating the data in ViewModel separate Class. So when Iclick on the RecyclerView I want to call the same fragment but with the data change in it using bundle. And then after the same Fragment of RecyclerView is called, So onClick of that Fragment I0 want QuestionAnswer Fragment to be called. So here Iwant to use only two Fragments one is RecyclerView and second one is QuestionAnswer Fragment. So how should I call the QuestionAnswer Fragment in the same RecyclerView class because it will be only one Fragment so how can I call bundle through navigation component
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|