Urgent Help: Recycle View : I have used combination of recycle view E,g When we open Google play store we can scroll them horizontally and vertically to find an application,

My problem: When i click on parent view it gives me the position of parent however when i click on child view,i get child position (Note: when i click on child view  i need parent position please help with this),

Again: I want my functionality should work same as Google play store in mobile so when i click on child view it must give me parent position,

Help will really appreciated, Thanks 