Kotlin: Retrieving data from one Adapter's variable to a Fragment and then process it to another Adapter
I have 2 RecyclerViews and one depends on the other. The second RecyclerView will change what it shows based on the items selected on the first RecyclerView.
To achieve this I need to get the data about the selection made on the first RV (from the adapter), use it on the fragment (to process the data) and then put the resulting list on the adapter of the second RV.
I did try using the answer explained here:
<a...