title: Get the position of clicked item on Recycler View
body: <p>I have implement a <code>RecyclerView</code> and it works fine. I have an <code>ArrayList</code> which contains the data for the recycler view. The layout of each item is complicated. It contains two <code>frameLayout</code>. The framelayout1 contains an image and a text and the framelayout2 contains an image and four texts. When the user clicks on the framelayout1 I want to open the Activity1 and when the users clicks on the framelayout2 I want to open the Activity2. I have already search for the onClick in Recycler View and I have found very useful <a href="https://stackoverflow.com/questions/24885223/why-doesnt-recyclerview-have-onitemclicklistener-and-how-recyclerview-is-dif">this</a>. But how can I get the position of the arrayList in order to pass it via Intent in the activity1 or activity2?</p>