Closed Hbworld closed 7 years ago
u r able to loop the cards in the adapter logic.
slidePanel.setAdapter(new CardAdapter() {
@Override
public int getCount() {
return Integer.maxValue();
}
@Override
public void bindView(View view, int index) {
index = index % dataList.size();
viewHolder.bindData(dataList.get(index));
}
});
wanna to change the offset direction from bottom to top? Just modify this param:
card:itemMarginTop="-10dp"
i was wondering if i can enable looping through the cards and also changing the CardStack Gravity from Bottom to Top.