which the view * is {@link #setRotation(float) rotated} and * {@link #setScaleX(float) scaled}. * By default, the pivot point is centered on the object. */ smallRecyclerView.setPivotX(0); smallRecyclerView.setPivotY(0); mediumRecyclerView.setPivotX(0); mediumRecyclerView.setPivotY(0);
them up. • 1 GestureDetectors, 1 for scaling from small to medium recycler view. • 1 OnItemClickListener to do the transition from medium to full screen mode (can be another gesture listener too). • 1 OnItemTouchListener for both RecyclerViews and that will dispatch the TouchEvents to the GestureListener of the visible RecyclerView.