How to implement StackLayoutManager in android Vertical RecyclerView
问题 I want to implement stack of cards from bottom to top swipe each overlap previous card stack.Someone implement this using RecyclerView with custom Layout manager.I don't have enough code. How to do this using Recyclerview. 回答1: Try this way: public class StackLayoutManager extends LinearLayoutManager { public StackLayoutManager(Context context) { super(context); setStackFromEnd(true); } @Override public RecyclerView.LayoutParams generateDefaultLayoutParams() { return new RecyclerView