Can I pass an intent within RecyclerViewAdapter coming from one fragment to another?
<p><a href="http://i.stack.imgur.com/uU8KJ.jpg" rel="nofollow">LayoutDiagram</a></p>

<p>This is not an issue on mobile because I can use <code>startActivity(intent)</code> with the intent holding my data and the Activity I want to open, but in a 2 pane UI, I'm having an issue where I have a grid layout set up in <strong>Fragment A</strong>, and the onClick for my GridView is being set in the <strong>RecyclerView.Adapter</strong>.</p>

<p>Adapter is setting <code>onClickListeners</code> for <strong>Fragment A</strong> but I want data to be passed to <strong>Fragment B</strong> and then have <code>Fragment B</code> refresh, rather than start a new Activity so on a 2 pane UI, it refreshes that part of the app. How can I do that within my RecyclerViewAdapter? I've made a diagram portraying my issue as best as possible. Thanks.</p>