I have an application with 3 fragments, and in Fragment 1 you can select a vehicle from a list of vehicles.
I want the application to automatically select the same vehicle when I switch to Fragment 3, without me pressing on the actual vehicle item in that Fragment's list.
So say I am in Fragment 1 and I press on vehicle 111. If I now switch to Fragment 3 (which has its own vehicle list, populated with the same vehicles), I want the application to automatically select vehicle 111 for me, so I can see its parameters and so on.
In other words, I want to artifically generate an onClick event and pretend I clicked on that bus again, in this Fragment 3.
How can I do this?