Open arpitjoshi08 opened 7 years ago
Hi, I am facing same issue, did you find any solution?
Hello , Have you found any solution for this problem?
@sailywebvillee dint get any solution yet, then i implemented card view using RecyclerView . see link - `https://stackoverflow.com/questions/32319541/android-recyclerview-overlap-items-card-stacks?rq=1
@arpitjoshi08 Thanks I will try this
@sailywebvillee
` public class OverlapDecoration extends RecyclerView.ItemDecoration {
private final static int vertOverlap = -40;
@Override
public void getItemOffsets (Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
final int itemPosition = parent.getChildAdapterPosition(view);
if (itemPosition == 0) {
return; }
outRect.set(0, vertOverlap, 0, 0);
}
} ``
mRecyclerView.addItemDecoration(new OverlapDecoration());
mRecyclerView.setLayoutManager(new LinearLayoutManager(this));
use this code with recyclerview to overlapped item
@arpitjoshi08 Okay Thanks for your reply but actually I have to use AllMoveDownAnimatorAdapter type of animation used in this library.
I am implementing deleting functionality in this card and successfully implemented but taking so much time when notify the adapter after delete .how can i resolved this.