title: Add Spinner in recyclerview header and manage it's selection from It's fragment class
body: <p>I am having a <code>fragment</code> in which I have <code>recyclerview</code> inside <code>SwipeRefreshLayout</code>.</p>
  
  <p>Now I want to add a header to <code>recyclerview</code> that contains a <code>spinner</code> which I am able to do from RecyclerView Adapter, now the issue is I want to apply <code>setOnItemSelectedListener</code> on this spinner and perform some action on it, but I want this to process from the <code>fragment</code> class not from the adapter, but I am not able to do this.</p>
  
  <p>Can you please guide me, how can I achieve this.</p>
  
  <p>Thank you so much in advanced.</p>